@Test public void does_nothing() { SuiteNotifier suiteNotifier = mock(SuiteNotifier.class); Executor executor = mock(Executor.class); driver.findTests(Object.class, suiteNotifier, executor); verifyZeroInteractions(suiteNotifier, executor); }
@Override public void findTests(Class<?> testClass, SuiteNotifier notifier, Executor executor) { }
IgnoreSilentlyDriver extends Driver { @Override public void findTests(Class<?> testClass, SuiteNotifier notifier, Executor executor) { } }
IgnoreSilentlyDriver extends Driver { @Override public void findTests(Class<?> testClass, SuiteNotifier notifier, Executor executor) { }  }
IgnoreSilentlyDriver extends Driver { @Override public void findTests(Class<?> testClass, SuiteNotifier notifier, Executor executor) { }  @Override void findTests(Class<?> testClass, SuiteNotifier notifier, Executor executor); }
IgnoreSilentlyDriver extends Driver { @Override public void findTests(Class<?> testClass, SuiteNotifier notifier, Executor executor) { }  @Override void findTests(Class<?> testClass, SuiteNotifier notifier, Executor executor);  }