PhroznTest\Outputter\PlainOutputterTest::testStdErr PHP Method

testStdErr() public method

public testStdErr ( )
    public function testStdErr()
    {
        $outputter = new Outputter();
        ob_start(array($this, 'setOutput'));
        $outputter->stderr('sending output', '');
        $out = trim(ob_get_clean());
        $this->assertSame('sending output', trim($this->out));
    }