| 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.mock | |
| org.mockito.stubbing |
External stubbing related classes
|
| Class and Description |
|---|
| Answer
Generic interface to be used for configuring mock's answer.
|
| 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.
|
| 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
|