Package | Description |
---|---|
org.mockito |
Mockito is a mock library for java - see
Mockito class for usage. |
org.mockito.configuration |
Mockito configuration utilities.
|
org.mockito.internal |
Internal classes, not to be used by clients.
|
org.mockito.internal.configuration |
Mockito configuration.
|
org.mockito.internal.creation |
Mock object creation.
|
org.mockito.internal.creation.settings | |
org.mockito.internal.invocation.finder | |
org.mockito.internal.junit |
JUnit integration support classes.
|
org.mockito.internal.listeners | |
org.mockito.internal.progress |
Mocking progress stateful classes.
|
org.mockito.internal.stubbing |
Stubbing logic.
|
org.mockito.internal.stubbing.answers |
Answers for stubbed calls.
|
org.mockito.internal.stubbing.defaultanswers |
Implementations of default Answers.
|
org.mockito.internal.util |
Static utils
|
org.mockito.mock |
Mock settings related classes.
|
org.mockito.stubbing |
Stubbing related classes.
|
Class and Description |
---|
Answer
Generic interface to be used for configuring mock's answer.
|
Answer1
Generic interface to be used for configuring mock's answer for a single argument invocation.
|
Answer2
Generic interface to be used for configuring mock's answer for a two argument invocation.
|
Answer3
Generic interface to be used for configuring mock's answer for a three argument invocation.
|
Answer4
Generic interface to be used for configuring mock's answer for a four argument invocation.
|
Answer5
Generic interface to be used for configuring mock's answer for a five argument invocation.
|
LenientStubber
Used for declaring optional stubbings with
Mockito.lenient() |
OngoingStubbing
Simply put: "When the x method is called then return y".
|
Stubber
Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
|
Stubbing
Stubbing declared on the mock object.
|
VoidAnswer1
Generic interface to be used for configuring mock's answer for a single argument invocation that returns nothing.
|
VoidAnswer2
Generic interface to be used for configuring mock's answer for a two argument invocation that returns nothing.
|
VoidAnswer3
Generic interface to be used for configuring mock's answer for a three argument invocation that returns nothing.
|
VoidAnswer4
Generic interface to be used for configuring mock's answer for a four argument invocation that returns nothing.
|
VoidAnswer5
Generic interface to be used for configuring mock's answer for a five argument invocation that returns nothing.
|
Class and Description |
---|
Answer
Generic interface to be used for configuring mock's answer.
|
Class and Description |
---|
LenientStubber
Used for declaring optional stubbings with
Mockito.lenient() |
OngoingStubbing
Simply put: "When the x method is called then return y".
|
Stubber
Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
|
Class and Description |
---|
Answer
Generic interface to be used for configuring mock's answer.
|
Class and Description |
---|
Answer
Generic interface to be used for configuring mock's answer.
|
Class and Description |
---|
Answer
Generic interface to be used for configuring mock's answer.
|
Class and Description |
---|
Stubbing
Stubbing declared on the mock object.
|
Class and Description |
---|
Stubbing
Stubbing declared on the mock object.
|
Class and Description |
---|
Stubbing
Stubbing declared on the mock object.
|
Class and Description |
---|
OngoingStubbing
Simply put: "When the x method is called then return y".
|
Class and Description |
---|
Answer
Generic interface to be used for configuring mock's answer.
|
BaseStubber
Base interface for stubbing consecutive method calls with
Mockito.doReturn(Object) syntax. |
LenientStubber
Used for declaring optional stubbings with
Mockito.lenient() |
OngoingStubbing
Simply put: "When the x method is called then return y".
|
Stubber
Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
|
Stubbing
Stubbing declared on the mock object.
|
Class and Description |
---|
Answer
Generic interface to be used for configuring mock's answer.
|
Answer1
Generic interface to be used for configuring mock's answer for a single argument invocation.
|
Answer2
Generic interface to be used for configuring mock's answer for a two argument invocation.
|
Answer3
Generic interface to be used for configuring mock's answer for a three argument invocation.
|
Answer4
Generic interface to be used for configuring mock's answer for a four argument invocation.
|
Answer5
Generic interface to be used for configuring mock's answer for a five argument invocation.
|
ValidableAnswer
Allow to validate this answer is correct for the given invocation.
|
VoidAnswer1
Generic interface to be used for configuring mock's answer for a single argument invocation that returns nothing.
|
VoidAnswer2
Generic interface to be used for configuring mock's answer for a two argument invocation that returns nothing.
|
VoidAnswer3
Generic interface to be used for configuring mock's answer for a three argument invocation that returns nothing.
|
VoidAnswer4
Generic interface to be used for configuring mock's answer for a four argument invocation that returns nothing.
|
VoidAnswer5
Generic interface to be used for configuring mock's answer for a five argument invocation that returns nothing.
|
Class and Description |
---|
Answer
Generic interface to be used for configuring mock's answer.
|
Class and Description |
---|
Stubbing
Stubbing declared on the mock object.
|
Class and Description |
---|
Answer
Generic interface to be used for configuring mock's answer.
|
Class and Description |
---|
Answer
Generic interface to be used for configuring mock's answer.
|
BaseStubber
Base interface for stubbing consecutive method calls with
Mockito.doReturn(Object) syntax. |
OngoingStubbing
Simply put: "When the x method is called then return y".
|
Stubber
Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
|