Author Login
Post Reply
I have a listener that I'm mocking. one method does -
Foo didSomerthing(Foo foo);
For the cases I'm looking at, it always returns what was passed in.
It would be nice to have
one(listener). didSomerthing(with(any(Foo.class)));
will(returnParamOfSameClass());
or whatever would be more correct.
- Paul
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email