function it_does_not_prompt_for_method_generation_if_input_is_not_interactive($exampleEvent, $suiteEvent, $io, MethodNotFoundException $exception) { $exampleEvent->getException()->willReturn($exception); $io->isCodeGenerationEnabled()->willReturn(false); $this->afterExample($exampleEvent); $this->afterSuite($suiteEvent); $io->askConfirmation(Argument::any())->shouldNotBeenCalled(); }