| Interface | Description |
|---|---|
| MockitoRule |
Since 2.1.0, JUnit rule emits stubbing warnings and hints to System output
(see also
MockitoHint). |
| VerificationCollector |
Use this rule in order to collect multiple verification failures and report at once.
|
| Class | Description |
|---|---|
| MockitoJUnit |
The JUnit rule can be used instead of
MockitoJUnitRunner. |
| MockitoJUnitRunner |
Compatible with JUnit 4.4 and higher, this runner adds following behavior:
(new since Mockito 2.1.0) Detects unused stubs in the test code.
|
| MockitoJUnitRunner.Silent |
This Mockito JUnit Runner implementation ignores unused stubs
(e.g.
|
| MockitoJUnitRunner.Strict |
Detects unused stubs and reports them as failures.
|