Package | Description |
---|---|
org.mockito.junit |
Mockito JUnit integration ; rule and runners.
|
org.mockito.runners |
JUnit runners.
|
Class and Description |
---|
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.
|
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 and Description |
---|
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.
|