spec\PhpSpec\Listener\ClassNotFoundListenerSpec::it_prompts_for_method_generation_if_phpspec_classnotfoundexception_was_thrown_and_input_is_interactive PHP Method

it_prompts_for_method_generation_if_phpspec_classnotfoundexception_was_thrown_and_input_is_interactive() public method

public it_prompts_for_method_generation_if_phpspec_classnotfoundexception_was_thrown_and_input_is_interactive ( $exampleEvent, $suiteEvent, $io, PhpspecClassException $exception )
$exception PhpspecClassException
    function it_prompts_for_method_generation_if_phpspec_classnotfoundexception_was_thrown_and_input_is_interactive($exampleEvent, $suiteEvent, $io, PhpspecClassException $exception)
    {
        $exampleEvent->getException()->willReturn($exception);
        $io->isCodeGenerationEnabled()->willReturn(true);
        $this->afterExample($exampleEvent);
        $this->afterSuite($suiteEvent);
        $io->askConfirmation(Argument::any())->shouldHaveBeenCalled();
    }