Package | Description |
---|---|
org.mockito.junit |
Mockito JUnit integration ; rule and runners.
|
Modifier and Type | Method and Description |
---|---|
static MockitoRule |
MockitoJUnit.rule()
Creates rule instance that initiates @Mocks
For more details and examples see
MockitoRule . |
MockitoRule |
MockitoRule.silent()
Rule will not report stubbing warnings during test execution.
|
MockitoRule |
MockitoRule.strictness(Strictness strictness)
The strictness, especially "strict stubs" (
Strictness.STRICT_STUBS )
helps debugging and keeping tests clean. |