Java 类org.mockito.runners.MockitoJUnitRunner 实例源码

项目:astor    文件:JUnit45RunnerTest.java   
@Test
public void shouldFilterTestMethodsCorrectly() throws Exception{
    MockitoJUnitRunner runner = new MockitoJUnitRunner(this.getClass());

    runner.filter(methodNameContains("shouldInitMocksUsingRunner"));

    assertEquals(1, runner.testCount());
}
项目:astor    文件:JUnit45RunnerTest.java   
@Test
public void shouldFilterTestMethodsCorrectly() throws Exception{
    MockitoJUnitRunner runner = new MockitoJUnitRunner(this.getClass());

    runner.filter(methodNameContains("shouldInitMocksUsingRunner"));

    assertEquals(1, runner.testCount());
}