NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Jesse Glick Posted via mailing list.
|
Posted: Fri Oct 09, 2009 9:15 pm Post subject: Re: Strange behaviour with MockLookup and Mockito |
|
|
Fabrizio Giudici wrote:
| Quote: | It's something like calling setInstances() more than once
breaks things, or such. Any idea?
|
No, MockLookup.setInstances is designed to be called several times in the same VM. Check that client code is not caching the result of the lookup, etc. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|