Package | Description |
---|---|
org.mockito |
Mockito is a mock library for java - see Mockito class for for usage.
|
org.mockito.internal.invocation |
Invocation and related classes.
|
org.mockito.internal.stubbing |
Stubbing logic.
|
org.mockito.internal.stubbing.answers |
Answers for stubbed calls
|
org.mockito.internal.stubbing.defaultanswers |
Implementations of ReturnValues
|
org.mockito.stubbing |
External stubbing related classes
|
org.mockito.stubbing.answers |
Modifier and Type | Method and Description |
---|---|
Object |
ReturnValues.valueFor(InvocationOnMock invocation)
Deprecated.
return value for an unstubbed invocation
|
Modifier and Type | Class and Description |
---|---|
class |
Invocation
Method call on a mock object.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Invocation.isToString(InvocationOnMock invocation) |
Modifier and Type | Method and Description |
---|---|
Object |
StubbedInvocationMatcher.answer(InvocationOnMock invocation) |
Modifier and Type | Method and Description |
---|---|
Object |
ThrowsException.answer(InvocationOnMock invocation) |
Object |
Returns.answer(InvocationOnMock invocation) |
Object |
DoesNothing.answer(InvocationOnMock invocation) |
Object |
ClonesArguments.answer(InvocationOnMock invocation) |
Object |
CallsRealMethods.answer(InvocationOnMock invocation) |
Object |
AnswerReturnValuesAdapter.answer(InvocationOnMock invocation) |
Modifier and Type | Method and Description |
---|---|
Object |
ReturnsSmartNulls.answer(InvocationOnMock invocation) |
Object |
ReturnsMoreEmptyValues.answer(InvocationOnMock invocation) |
Object |
ReturnsMocks.answer(InvocationOnMock invocation) |
Object |
ReturnsEmptyValues.answer(InvocationOnMock invocation) |
Object |
ReturnsDeepStubs.answer(InvocationOnMock invocation) |
Object |
GloballyConfiguredAnswer.answer(InvocationOnMock invocation) |
Modifier and Type | Method and Description |
---|---|
T |
Answer.answer(InvocationOnMock invocation) |
Modifier and Type | Method and Description |
---|---|
Object |
ReturnsElementsOf.answer(InvocationOnMock invocation) |
Copyright © 2018. All rights reserved.