spec\PhpSpec\Listener\MethodNotFoundListenerSpec::it_does_not_prompt_for_method_generation_if_input_is_not_interactive PHP Метод

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

public it_does_not_prompt_for_method_generation_if_input_is_not_interactive ( $exampleEvent, $suiteEvent, $io, PhpSpec\Exception\Fracture\MethodNotFoundException $exception )
$exception PhpSpec\Exception\Fracture\MethodNotFoundException
    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();
    }