| Package | Description |
|---|---|
| org.mockito |
Mockito is a mock library for java - see Mockito class for 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.stubbing |
Stubbing logic.
|
| org.mockito.internal.stubbing.answers |
Answers for stubbed calls
|
| org.mockito.internal.stubbing.defaultanswers |
Implementations of ReturnValues
|
| org.mockito.mock | |
| org.mockito.stubbing |
External stubbing related classes
|
| Class and Description |
|---|
| Answer
Generic interface to be used for configuring mock's answer.
|
| DeprecatedOngoingStubbing
Stubs a method call with return value or an exception.
|
| 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
|
| VoidMethodStubbable
Stubs void method with an exception.
|
| 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.
|
| DeprecatedOngoingStubbing
Stubs a method call with return value or an exception.
|
| 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
|
| VoidMethodStubbable
Stubs void method with an exception.
|
| 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 |
|---|
| Answer
Generic interface to be used for configuring mock's answer.
|
| DeprecatedOngoingStubbing
Stubs a method call with return value or an exception.
|
| 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
|
| VoidMethodStubbable
Stubs void method with an exception.
|
| 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 |
|---|
| Answer
Generic interface to be used for configuring mock's answer.
|
| DeprecatedOngoingStubbing
Stubs a method call with return value or an exception.
|
| 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
|
| VoidMethodStubbable
Stubs void method with an exception.
|