org.mockito.internal.stubbing
Interface Answer<T>

Type Parameters:
T - the type to return.

public interface Answer<T>

Used to answer expected calls.


Method Summary
 T answer()
           
 

Method Detail

answer

T answer()
         throws java.lang.Throwable
Returns:
the value to be returned
Throws:
java.lang.Throwable - the throwable to be thrown