Uses of Interface
org.mockito.junit.MockitoRule
-
Packages that use MockitoRule Package Description org.mockito.internal.junit JUnit integration support classes.org.mockito.junit Mockito JUnit integration ; rule and runners. -
-
Uses of MockitoRule in org.mockito.internal.junit
Classes in org.mockito.internal.junit that implement MockitoRule Modifier and Type Class Description class
JUnitRule
Internal implementation.Methods in org.mockito.internal.junit that return MockitoRule Modifier and Type Method Description MockitoRule
JUnitRule. silent()
MockitoRule
JUnitRule. strictness(Strictness strictness)
-
Uses of MockitoRule in org.mockito.junit
Methods in org.mockito.junit that return MockitoRule Modifier and Type Method Description static MockitoRule
MockitoJUnit. rule()
Creates rule instance that initiates @Mocks For more details and examples seeMockitoRule
.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.
-