Package | Description |
---|---|
org.mockito |
Mockito is a mock library for java - see
Mockito class for usage. |
org.mockito.stubbing |
Stubbing related classes.
|
Modifier and Type | Class and Description |
---|---|
class |
ArgumentCaptor<T>
Use it to capture argument values for further assertions.
|
class |
ArgumentMatchers
Allow flexible verification or stubbing.
|
class |
Mockito
|
Modifier and Type | Interface and Description |
---|---|
interface |
Stubber
Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
|
Modifier and Type | Method and Description |
---|---|
<T> OngoingStubbing<T> |
LenientStubber.when(T methodCall)
Allows declaring the method to stub.
|