PhroznTest\Outputter\PlainOutputterTest::testStdOut PHP Method

testStdOut() public method

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