org.mockito.configuration
Interface ReturnValues

All Known Implementing Classes:
DefaultReturnValues

public interface ReturnValues

Configures return values for an unstubbed invocation

See examples in javadoc for ConfigurationSupport


Method Summary
 java.lang.Object valueFor(InvocationOnMock invocation)
          returns value for an unstubbed invocation
 

Method Detail

valueFor

java.lang.Object valueFor(InvocationOnMock invocation)
returns value for an unstubbed invocation

See examples in javadoc for ConfigurationSupport

Parameters:
invocation - placeholder for mock and a method
Returns:
the return value