public static class MockitoJUnitRunner.StrictStubs extends MockitoJUnitRunner
Strictness.STRICT_STUBS
.
Usage:
@RunWith(MockitoJUnitRunner.StrictStubs.class)
public class ExampleTest {
// ...
}
MockitoJUnitRunner.Silent, MockitoJUnitRunner.Strict, MockitoJUnitRunner.StrictStubs
Constructor and Description |
---|
StrictStubs(Class<?> klass) |
filter, getDescription, run
public StrictStubs(Class<?> klass) throws InvocationTargetException
InvocationTargetException