org.easymock
T - the type to return.public interface IAnswer<T>
T answer() throws java.lang.Throwable
EasyMock.getCurrentArguments() - be careful
here, using the arguments is not refactoring-safe.java.lang.Throwable - the throwable to be thrown