spec\PhpSpec\Listener\ClassNotFoundListenerSpec::it_does_not_prompt_for_class_generation_if_input_is_not_interactive PHP Метод

it_does_not_prompt_for_class_generation_if_input_is_not_interactive() публичный Метод

public it_does_not_prompt_for_class_generation_if_input_is_not_interactive ( $exampleEvent, $suiteEvent, $io, PhpspecClassException $exception )
$exception PhpspecClassException
    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();
    }