public void if_test_class_annotated_with_RunInDriverThread_then_does_not_use_the_Executor() {
RunListener runListener = mock(RunListener.class);
Executor executor = mock(Executor.class);
Class<AnnotatedWithRunInDriverThreadTest> testClass = AnnotatedWithRunInDriverThreadTest.class;
SuiteNotifier notifier = new ThreadBoundSuiteNotifier(ActorRef.wrap(runListener), new RunIdSequence(), new OutputCapturer());
DriverRunner driverRunner = new DriverRunner(new SimpleUnit(), testClass, notifier, executor);
driverRunner.run();
verifyZeroInteractions(executor);
// should anyways run the tests
verify(runListener).onTestStarted(new RunId(1), TestId.ROOT);
verify(runListener).onTestStarted(new RunId(1), TestId.of(0));