Here is another great use case for Answer: You can pass an Answer instance as second parameter to the mock method to define the default answer for all invocations on the returned mock object, which have not been stubbed. Example: Suppose you want a pseudo object (a mock object, which throws an AssertionError whenever an unstubbed/unexpected method is called -- see "xUnit Test Patterns" by Gerard M
