<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user">
    <title>gmane.comp.java.jmock.user</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.user/2435"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.user/2434"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.user/2433"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.user/2432"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.user/2431"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.user/2430"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.user/2429"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.user/2428"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.user/2427"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.user/2426"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.user/2425"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.user/2424"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.user/2423"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.user/2422"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.user/2421"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.user/2420"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.user/2419"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.user/2418"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.user/2417"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.user/2416"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user/2435">
    <title>Re: Ignoring calls to static methods</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user/2435</link>
    <description>&lt;pre&gt;There are other frameworks that do that sort of thing. I tend to think it's a bad idea. The relevant point here is that the B singleton is a dependency. You can either hide it in A or make it explicit and pass it in, perhaps when A is constructed. Whether you need to wrap B depends on what it is and what you do with it.

S

On 9 Feb 2010, at 14:04, Panos Konstantinidis wrote:

Steve Freeman

Winner of the Agile Alliance Gordon Pask award 2006
Book: http://www.growing-object-oriented-software.com

+44 (0) 797 179 4105
M3P Limited.  http://www.m3p.co.uk
Registered office. 2 Church Street, Burnham, Bucks, SL1 7HZ. 
Company registered in England &amp;amp; Wales. Number 03689627




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



&lt;/pre&gt;</description>
    <dc:creator>Steve Freeman</dc:creator>
    <dc:date>2010-02-09T22:21:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user/2434">
    <title>Re: Ignoring calls to static methods</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user/2434</link>
    <description>&lt;pre&gt;Hello Steve, 

yes I do have access to class A, this is the class I wrote. And you are right, I could introduce an object C, that wraps access to class B. But again there are two concerns here: 

a) I introduce a third object just to test my first object, and
b) I need to change the source code of class A, because I need a way to pass this wrapper object to the mockery context, otherwise I couldn't be able to set expectations on it and mock the functionality. So, as you say I will need to test it in an integration test, which is already being done for the current class B.

I was wondering if there is a simple way, something like (if "context" is of type Mockery)

mockery.ignoreClass(B.class);

I know that JMock uses reflection to mock interfaces JMock works, but I guess, since it's using cglib, it has some interaction at byte code level. My original thought was that maybe someone knows how to bypass byte code calls through JMock.

Regards

Panos

--- On Tue, 2/9/10, steve-/6t1Ty3A97Vaa/9Udqfwiw&amp;lt; at &amp;gt;public.gmane.&lt;/pre&gt;</description>
    <dc:creator>Panos Konstantinidis</dc:creator>
    <dc:date>2010-02-09T14:04:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user/2433">
    <title>Re: Ignoring calls to static methods</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user/2433</link>
    <description>&lt;pre&gt;
If you have access to class A, you could consider wrapping the access 
to class B in an object (c) that will return the instance. That breaks 
the static dependency and makes the code testable. You can then test 
the implementation of (c) in an integration test, if it's at all 
complicated, or just let the acceptance tests exercise it.

Another option to consider is whether you could pass an instance of B 
into A, perhaps on construction. Again, this doesn't make the probably 
totally disappear, but makes A's dependencies clearer and easier to 
work with.

S.

On 9 February, 2010, Panos Konstantinidis &amp;lt;girionis-/E1597aS9LQAvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



&lt;/pre&gt;</description>
    <dc:creator>steve-/6t1Ty3A97Vaa/9Udqfwiw&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2010-02-09T13:36:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user/2432">
    <title>Re: Ignoring calls to static methods</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user/2432</link>
    <description>&lt;pre&gt;Hello Julian, thank you for your prompt reply

allowing you to override the 
your test setups to inject a mock.

Unfortunatelly I cannot modify the code (I am not even sure if they have the code anymore), I can only call the static methods on the class. And unfortunatelly I cannot set expectations on the class with the static methods, since it's not in the mock's context. I am stumped right now and I am thinking of just abandoning this specific unit test, and let the functional testing catch any (possible) errors. But I am pretty sure that I will encounter this situation again, and I was thinking if there is an easy solution to this.

Regards

Panos





      &lt;/pre&gt;</description>
    <dc:creator>Panos Konstantinidis</dc:creator>
    <dc:date>2010-02-09T12:04:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user/2431">
    <title>Re: Ignoring calls to static methods</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user/2431</link>
    <description>&lt;pre&gt;Are you free to modify B?  If so, I'd add a method setInstance, allowing 
you to override the default value returned, and call it from your test 
setups to inject a mock.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



&lt;/pre&gt;</description>
    <dc:creator>Julian Hall</dc:creator>
    <dc:date>2010-02-09T10:49:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user/2430">
    <title>Ignoring calls to static methods</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user/2430</link>
    <description>&lt;pre&gt;Hello my name is Panos, I am new to the list (although not to jmock since I've been using it for the last coupel of years).

I came across a situation that I need to re-use some legacy code that has loads of calls to static methods. For example consider the following example

class A
{
   B.instance().sayHello();
}

class B
{
   public static instance()
   {
      ...
      return B;
   }

   public String sayHello()
   {
      return "hello";
   }
}

I am testing class A with jMock. Is there a way to instruct jMock to completely ignore the call to B.instance().sayHello();? Normally this wouldn't be a problem but the call to instance() returns null sometimes and subsequently throws a npe.

I know that I could refactor the code and use the Strategy pattern but refactoring it is out of the question, I cannot touch the legacy code.

The other thing I can think of is to catch the npe and continue normally but this is not a good programming practice. So I am looking for a way (if ther&lt;/pre&gt;</description>
    <dc:creator>Panos Konstantinidis</dc:creator>
    <dc:date>2010-02-09T09:52:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user/2429">
    <title>AW: Testing method which is accepting String... as parameter</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user/2429</link>
    <description>&lt;pre&gt;Looks like we got it working now with with(equal(new
String[]{Constants.ADMIN}))

 

Cheers

Rene

 

Von: "Günther, Rene - Innflow AG" [mailto:rene.guenther-WbT5Zv7j22JBDgjK7y7TUQ&amp;lt; at &amp;gt;public.gmane.org] 
Gesendet: Dienstag, 19. Januar 2010 15:01
An: user-sXN/XchZ9OexIXFVlbCvtR2eb7JE58TQ&amp;lt; at &amp;gt;public.gmane.org
Betreff: [jmock-user] Testing method which is accepting String... as
parameter

 

Hi,

 

we are having the following method on our interface: findByRoles(String
roles)

 

We are calling it like that: findByRole(admin);

 

We tried to set the expectation
one().findByRoles(with(equal(Constants.ADMIN));

 

Which caused unexpectedInvocationException.

Is there a special handling for that kind of parameters (variable length
arguments)?

 

Thanks

Rene

 

 

&lt;/pre&gt;</description>
    <dc:creator>Günther, Rene - Innflow AG</dc:creator>
    <dc:date>2010-01-19T14:16:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user/2428">
    <title>Testing method which is accepting String... as parameter</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user/2428</link>
    <description>&lt;pre&gt;Hi,

 

we are having the following method on our interface: findByRoles(String
roles)

 

We are calling it like that: findByRole(admin);

 

We tried to set the expectation
one().findByRoles(with(equal(Constants.ADMIN));

 

Which caused unexpectedInvocationException.

Is there a special handling for that kind of parameters (variable length
arguments)?

 

Thanks

Rene

 

 

&lt;/pre&gt;</description>
    <dc:creator>Günther, Rene - Innflow AG</dc:creator>
    <dc:date>2010-01-19T14:00:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user/2427">
    <title>Re: strange jmock behaviour in case of different results expected for same function for different parameters</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user/2427</link>
    <description>&lt;pre&gt;2010/1/5 Ralph Urban &amp;lt;rurban-Hst+yzLCD1M&amp;lt; at &amp;gt;public.gmane.org&amp;gt;

Can you send a more complete example? I can't see where the
propertyStorageLocal or propertyStorageLocalHome mocks are defined, or the
create() method is called.

Cheers,

James
&lt;/pre&gt;</description>
    <dc:creator>James Abley</dc:creator>
    <dc:date>2010-01-05T19:59:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user/2426">
    <title>strange jmock behaviour in case of different results expected for same function for different parameters</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user/2426</link>
    <description>&lt;pre&gt;Hi,

I am mocking a bean. Its function getPackages is called twice, both calls with
diferent parameters. The function should return diffent lists. Somehow JMock
merges these lists. Did I specifiy wrongly?

Test1:
    &amp;lt; at &amp;gt;Test
    public void testStrangeMock() {
        final List&amp;lt;String&amp;gt; packages2 = new ArrayList&amp;lt;String&amp;gt;();
        packages2.add("de.psi.telco.mccm");
        final List&amp;lt;String&amp;gt; packages = new ArrayList&amp;lt;String&amp;gt;();
        packages.add("de.psi.telco.mccm.test1");
        packages.add("de.psi.telco.mccm.test2");
        mMockery.checking(new Expectations() {{
            allowing (mPropS).getPackages(with(equal("de.psi.telco.mccm")), 
                    with(equal(true)));
                will(returnValue(packages));
                allowing (mPropS).getPackages(with(equal("de.psi.telco")), 
                with(equal(false)));
                will(returnValue(packages2));
        }});
        
        Map&amp;lt;String,AbstractMCCMProperty&amp;gt; results = mLdap.getPropertiesMap(
                "dc=mccm,dc&lt;/pre&gt;</description>
    <dc:creator>Ralph Urban</dc:creator>
    <dc:date>2010-01-05T11:30:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user/2425">
    <title>Re: Failing a test in a separate thread</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user/2425</link>
    <description>&lt;pre&gt;Thanks for that, I took a look and the Synchroniser and came up with
something similar as a JUnit Statement.

http://code.google.com/p/tempus-fugit/source/browse/trunk/tempus-fugit/src/main/java/com/google/code/tempusfugit/concurrency/RunConcurrently.java

I couldn't quite see how the Synchroniser fits together fully with the rest
of the framework but it inspired me into thinking about an object which
stashes the Exception to be queried later. If you got a chance, any feedback
on the above would be appreciated (please be kind!), its more of a spike
than anything and I'm not even sure its of any real use but it does
something similar to
http://blog.mycila.com/2009/11/writing-your-own-junit-extensions-using.html.

My associated test is

http://code.google.com/p/tempus-fugit/source/browse/trunk/tempus-fugit/src/test/java/com/google/code/tempusfugit/concurrency/RunConcurrentlyTest.java

ps, hope this isn't too off topic :D

Cheers
Toby

2009/12/21 Nat Pryce &amp;lt;nat.pryce-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;



&lt;/pre&gt;</description>
    <dc:creator>Toby</dc:creator>
    <dc:date>2009-12-23T16:47:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user/2424">
    <title>Re: Failing a test in a separate thread</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user/2424</link>
    <description>&lt;pre&gt;A ha! Cheers I'll take a look...

Toby


On 21 Dec 2009, at 16:34, Nat Pryce &amp;lt;nat.pryce-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



&lt;/pre&gt;</description>
    <dc:creator>Toby</dc:creator>
    <dc:date>2009-12-21T18:38:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user/2423">
    <title>Re: Failing a test in a separate thread</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user/2423</link>
    <description>&lt;pre&gt;Yes.  Have a look at the Synchroniser class in subversion head.  It
catches an exception thrown by any mock object on any thread and
ensures that the first exception is rethrown when the test calls
assertIsSatisfied on the test-runner's thread.

You could probably do something similar using a JUnit rule, as long as
the rule object started all the threads used by your tests.

--Nat

2009/12/20 Toby &amp;lt;toby.weston-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;:



&lt;/pre&gt;</description>
    <dc:creator>Nat Pryce</dc:creator>
    <dc:date>2009-12-21T16:34:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user/2422">
    <title>Failing a test in a separate thread</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user/2422</link>
    <description>&lt;pre&gt;Bit of an odd question, but bear with me...

I'm playing with running test methods from JUnit in their own thread (just
for fun) but of course, any Assert.fail will not make its way back to the
main JUnit thread and so not fail the test. I was wondering if JMock has
come across the same issue, any suggestions on an approach?

The closest I've got to so far is using the very naughty
Thread.stop(Throwable), something like this (although I know I can't really
use this, it does illustrate the kind of thing I want);

   &amp;lt; at &amp;gt;Test
    public void failureInAnotherThread() throws InterruptedException {
        final Thread main = Thread.currentThread();
        Thread thread = new Thread(new Runnable() {
            public void run() {
                fail("grrr!");
            }
        });
        thread.setUncaughtExceptionHandler(new
Thread.UncaughtExceptionHandler() {
            public void uncaughtException(Thread t, Throwable e) {
                main.stop(e);
            }
        });
        thread.start();
  &lt;/pre&gt;</description>
    <dc:creator>Toby</dc:creator>
    <dc:date>2009-12-20T12:55:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user/2421">
    <title>Re: Checkstyle check for &lt; at &gt;RunWith(JMock)</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user/2421</link>
    <description>&lt;pre&gt;2009/11/23 Stephen Smith &amp;lt;steve-cOXOJo/IntmS2QFrQHbrDfXRex20P6io&amp;lt; at &amp;gt;public.gmane.org&amp;gt;:

If you want to use a different test runner (e.g. parameterised test
runner) you have to call context.assertIsSatisfied() explicitly.

The new Rules mechanism in JUnit avoids this limitation.

--Nat

&lt;/pre&gt;</description>
    <dc:creator>Nat Pryce</dc:creator>
    <dc:date>2009-12-03T21:38:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user/2420">
    <title>Re: Re: Peculiar expectation error</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user/2420</link>
    <description>&lt;pre&gt;2009/11/30 Sam &amp;lt;mail-zhSKZATnOKPOK8mupsKPhw&amp;lt; at &amp;gt;public.gmane.org&amp;gt;:

Not in TestNG.  In TestNG, all tests of the same class run in the same
instance of that class and the onus is on you to make sure the tests
don't interfere with one another.

--Nat

&lt;/pre&gt;</description>
    <dc:creator>Nat Pryce</dc:creator>
    <dc:date>2009-12-03T20:07:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user/2419">
    <title>Re: Mocking Static Methods using JMock</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user/2419</link>
    <description>&lt;pre&gt;Does the static method have side effects (e.g. change mutable static
state)?  If so, it's probably best to turn that into an object and
give it an interface.  You can then mock the interface.

If it's a pure function with no side effects, then there's no problem
with giving the object under test known inputs and testing how it uses
the known outputs from the pure function.

If you want to ignore the complexity of the function when testing,
then I think you should apply the Strategy pattern.  Introduce an
interface between the object under test and the strategy, use a
strategy implementation that calls (or replaces) the static function
in production code, and use stub implementation in tests.

--Nat

2009/12/1 Siddhi B &amp;lt;borkar.siddhi-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;:



&lt;/pre&gt;</description>
    <dc:creator>Nat Pryce</dc:creator>
    <dc:date>2009-12-03T20:04:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user/2418">
    <title>Re: Mocking Static Methods using JMock</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user/2418</link>
    <description>&lt;pre&gt;
Thanks for your quick reply Steve.
The above code snippet was just a simple example. The code that I am working
on contains complex logic in the static function.



Steve Freeman-2 wrote:

&lt;/pre&gt;</description>
    <dc:creator>Siddhi B</dc:creator>
    <dc:date>2009-12-01T09:50:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user/2417">
    <title>Re: Mocking Static Methods using JMock</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user/2417</link>
    <description>&lt;pre&gt;We don't support mocking of static methods since there is almost  
always a better way. That might mean testing it directly in an  
integration test or writing a thin layer above the static method and  
testing against /that/.

If your method is as simple as getName() it might be better to just  
call the method.
S.

On 1 Dec 2009, at 03:37, Siddhi B &amp;lt;borkar.siddhi-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



&lt;/pre&gt;</description>
    <dc:creator>Steve Freeman</dc:creator>
    <dc:date>2009-12-01T07:51:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user/2416">
    <title>Mocking Static Methods using JMock</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user/2416</link>
    <description>&lt;pre&gt;
Hi,

I need a way of mocking a static class using JMock. Consider the following
code snippet.

public class A {
   void functionX() {
       String name =  ClassB.getName(); // Static function
   }
}

public class ClassB {
    static String getName() {
        return 'ABC'
    }
}

I need a way of mocking the static function 'getName'.Please note that I do
not have rights to modify the legacy code.

Any help would be highly appreciated.

Thanks,
Siddhi
&lt;/pre&gt;</description>
    <dc:creator>Siddhi B</dc:creator>
    <dc:date>2009-12-01T03:37:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.user/2415">
    <title>Re: Peculiar expectation error</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.user/2415</link>
    <description>&lt;pre&gt;Problem solved. Moved test fixture to &amp;lt; at &amp;gt;BeforeMethod annotated method and create
new Mockery object before any fixture code executed.

Cheers,
Sam 




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



&lt;/pre&gt;</description>
    <dc:creator>Sam</dc:creator>
    <dc:date>2009-12-01T00:28:11</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.java.jmock.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.java.jmock.user</link>
  </textinput>
</rdf:RDF>
