Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.mockito.ReturnValues

Packages that use ReturnValues
org.mockito | Mockito is a mock library for java - see Mockito class for for usage.
org.mockito.configuration | Mockito configuration utilities
org.mockito.internal.configuration | Mockito configuration
org.mockito.internal.stubbing.answers | Answers for stubbed calls

Uses of ReturnValues in org.mockito

Methods in org.mockito with parameters of type ReturnValues
`static
`<T> T`
` | `Mockito.mock(java.lang.Class<T> classToMock, ReturnValues returnValues)` Deprecated. Please use mock(Foo.class, defaultAnswer);

Uses of ReturnValues in org.mockito.configuration

Methods in org.mockito.configuration that return ReturnValues
`ReturnValues` | `IMockitoConfiguration.getReturnValues()` Deprecated. Please use `IMockitoConfiguration.getDefaultAnswer()` Steps: 1. Leave the implementation of getReturnValues() method empty - it's not going to be used anyway. 2. Implement getDefaultAnswer() instead. In rare cases your code might not compile with recent deprecation & changes. Very sorry for inconvenience but it had to be done in order to keep framework consistent. See javadoc `ReturnValues` for info why this method was deprecated Allows configuring the default return values of unstubbed invocations See javadoc for `IMockitoConfiguration`
`ReturnValues` | `DefaultMockitoConfiguration.getReturnValues()` Deprecated.

Uses of ReturnValues in org.mockito.internal.configuration

Methods in org.mockito.internal.configuration that return ReturnValues
`ReturnValues` | `GlobalConfiguration.getReturnValues()`

Uses of ReturnValues in org.mockito.internal.stubbing.answers

Constructors in org.mockito.internal.stubbing.answers with parameters of type ReturnValues
`AnswerReturnValuesAdapter(ReturnValues returnValues)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES