| Package | Description |
|---|---|
| org.mockito.junit |
Mockito JUnit integration ; rule and runners.
|
| org.mockito.quality |
Mocking quality related classes.
|
| org.mockito.session |
| 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. |