spec\GrumPHP\IO\ConsoleIOSpec::it_should_write_error_messages_to_stderr PHP Метод

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

public it_should_write_error_messages_to_stderr ( Symfony\Component\Console\Output\ConsoleOutput $cliOutput, Symfony\Component\Console\Output\OutputInterface $output, Symfony\Component\Console\Input\InputInterface $input )
$cliOutput Symfony\Component\Console\Output\ConsoleOutput
$output Symfony\Component\Console\Output\OutputInterface
$input Symfony\Component\Console\Input\InputInterface
    function it_should_write_error_messages_to_stderr(ConsoleOutput $cliOutput, OutputInterface $output, InputInterface $input)
    {
        $this->beConstructedWith($input, $cliOutput);
        $cliOutput->getErrorOutput()->willReturn($output);
        $output->write('test', true)->shouldBeCalled();
        $this->writeError('test');
    }