Package | Description |
---|---|
org.mockito |
Mockito is a mock library for java - see Mockito class for for usage.
|
org.mockito.exceptions |
Exception messages, exception hierarchies.
|
org.mockito.invocation |
Public API related to invocation
|
org.mockito.stubbing |
External stubbing related classes
|
Modifier and Type | Method and Description |
---|---|
Object |
Answers.answer(InvocationOnMock invocation) |
Modifier and Type | Method and Description |
---|---|
static MockitoException |
Reporter.invalidArgumentPositionRangeAtInvocationTime(InvocationOnMock invocation,
boolean willReturnLastParameter,
int argumentIndex) |
static MockitoException |
Reporter.wrongTypeOfArgumentToReturn(InvocationOnMock invocation,
String expectedType,
Class<?> actualType,
int argumentIndex) |
Modifier and Type | Interface and Description |
---|---|
interface |
Invocation
A method call on a mock object.
|
Modifier and Type | Method and Description |
---|---|
T |
Answer.answer(InvocationOnMock invocation) |