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

it_does_not_prompt_when_collaborator_is_in_spec_namespace() 공개 메소드

public it_does_not_prompt_when_collaborator_is_in_spec_namespace ( ConsoleIO $io, ExampleEvent $exampleEvent, SuiteEvent $suiteEvent, PhpSpec\Exception\Fracture\CollaboratorNotFoundException $exception )
$io PhpSpec\Console\ConsoleIO
$exampleEvent PhpSpec\Event\ExampleEvent
$suiteEvent PhpSpec\Event\SuiteEvent
$exception PhpSpec\Exception\Fracture\CollaboratorNotFoundException
    function it_does_not_prompt_when_collaborator_is_in_spec_namespace(ConsoleIO $io, ExampleEvent $exampleEvent, SuiteEvent $suiteEvent, CollaboratorNotFoundException $exception)
    {
        $exception->getCollaboratorName()->willReturn('spec\\Example\\ExampleClass');
        $this->afterExample($exampleEvent);
        $this->afterSuite($suiteEvent);
        $io->askConfirmation(Argument::any())->shouldNotHaveBeenCalled();
    }