spec\PhpSpec\Listener\CollaboratorNotFoundListenerSpec::it_does_not_prompt_to_generate_when_there_was_an_exception_of_the_wrong_type PHP Метод

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

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