spec\PhpSpec\Console\ConsoleIOSpec::let PHP Method

let() public method

public let ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, PhpSpec\Config\OptionsConfig $config, PhpSpec\Console\Prompter $prompter )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$config PhpSpec\Config\OptionsConfig
$prompter PhpSpec\Console\Prompter
    function let(InputInterface $input, OutputInterface $output, OptionsConfig $config, Prompter $prompter)
    {
        $input->isInteractive()->willReturn(true);
        $input->getOption('no-code-generation')->willReturn(false);
        $input->getOption('stop-on-failure')->willReturn(false);
        $config->isCodeGenerationEnabled()->willReturn(true);
        $config->isStopOnFailureEnabled()->willReturn(false);
        $this->beConstructedWith($input, $output, $config, $prompter);
    }