| Package | Description |
|---|---|
| org.mockito |
Mockito is a mock library for java - see
Mockito class for usage. |
| org.mockito.junit |
Mockito JUnit integration ; rule and runners.
|
| org.mockito.quality |
Mocking quality related classes.
|
| org.mockito.session | |
| org.mockito.stubbing |
Stubbing related classes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MockitoSession.setStrictness(Strictness strictness)
Changes the strictness of this
MockitoSession. |
| Modifier and Type | Method and Description |
|---|---|
MockitoRule |
MockitoRule.strictness(Strictness strictness)
The strictness, especially "strict stubs" (
STRICT_STUBS)
helps debugging and keeping tests clean. |
| Modifier and Type | Method and Description |
|---|---|
static Strictness |
Strictness.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Strictness[] |
Strictness.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
MockitoSessionBuilder |
MockitoSessionBuilder.strictness(Strictness strictness)
Configures strictness of
MockitoSession instance. |
| Modifier and Type | Method and Description |
|---|---|
Strictness |
Stubbing.getStrictness()
Informs about the
Strictness level of this stubbing. |