Uses of Interface
org.mockito.junit.MockitoRule
Package
Description
JUnit integration support classes.
Mockito JUnit integration ; rule and runners.
-
Uses of MockitoRule in org.mockito.internal.junit
-
Uses of MockitoRule in org.mockito.junit
Modifier and TypeMethodDescriptionstatic MockitoRule
MockitoJUnit.rule()
Creates rule instance that initiates @Mocks For more details and examples seeMockitoRule
.MockitoRule.silent()
Rule will not report stubbing warnings during test execution.MockitoRule.strictness
(Strictness strictness) The strictness, especially "strict stubs" (Strictness.STRICT_STUBS
) helps debugging and keeping tests clean.