use of org.mockito.junit.MockitoJUnitRunner in project mockito by mockito.
the class JUnit45RunnerTest method shouldFilterTestMethodsCorrectly.
@Test
public void shouldFilterTestMethodsCorrectly() throws Exception {
MockitoJUnitRunner runner = new MockitoJUnitRunner(this.getClass());
runner.filter(methodNameContains("shouldInitMocksUsingRunner"));
assertEquals(1, runner.testCount());
}
Aggregations