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