@Test public void shouldFilterTestMethodsCorrectly() throws Exception{ MockitoJUnitRunner runner = new MockitoJUnitRunner(this.getClass()); runner.filter(methodNameContains("shouldInitMocksUsingRunner")); assertEquals(1, runner.testCount()); }