spec\PhpSpec\Listener\CollaboratorNotFoundListenerSpec::it_does_not_prompt_when_code_generation_is_disabled PHP 메소드

it_does_not_prompt_when_code_generation_is_disabled() 공개 메소드

public it_does_not_prompt_when_code_generation_is_disabled ( ConsoleIO $io, ExampleEvent $exampleEvent, SuiteEvent $suiteEvent )
$io PhpSpec\Console\ConsoleIO
$exampleEvent PhpSpec\Event\ExampleEvent
$suiteEvent PhpSpec\Event\SuiteEvent
    function it_does_not_prompt_when_code_generation_is_disabled(ConsoleIO $io, ExampleEvent $exampleEvent, SuiteEvent $suiteEvent)
    {
        $io->isCodeGenerationEnabled()->willReturn(false);
        $this->afterExample($exampleEvent);
        $this->afterSuite($suiteEvent);
        $io->askConfirmation(Argument::any())->shouldNotHaveBeenCalled();
    }