Java Mailing List Archive

Home » user.jmock »

[jmock-user] ignoring except never for one method



Replies: Find Java Web Hosting

Author LoginPost Reply

I want to ignore all calls on an object but not allow one particular call

eg Ithought this should work, but it allows the kill method to be called too


I don't want to have to specify every call on conversation - that makes the
test brittle as the class is tweaked/refactored
Sent from the jMock - User mailing list archive at

To unsubscribe from this list, please visit:

©2008 - Jax Systems, LLC, U.S.A.