spec\PhpSpec\Listener\CollaboratorMethodNotFoundListenerSpec::it_does_not_prompt_when_wrong_exception_is_thrown PHP Метод

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

public it_does_not_prompt_when_wrong_exception_is_thrown ( ConsoleIO $io, ExampleEvent $event, SuiteEvent $suiteEvent )
$io PhpSpec\Console\ConsoleIO
$event PhpSpec\Event\ExampleEvent
$suiteEvent PhpSpec\Event\SuiteEvent
    function it_does_not_prompt_when_wrong_exception_is_thrown(ConsoleIO $io, ExampleEvent $event, SuiteEvent $suiteEvent)
    {
        $event->getException()->willReturn(new \RuntimeException());
        $this->afterExample($event);
        $this->afterSuite($suiteEvent);
        $io->askConfirmation(Argument::any())->shouldNotHaveBeenCalled();
    }