public function CommandTesterTest::testGetOutput in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Tester/CommandTesterTest.php \Symfony\Component\Console\Tests\Tester\CommandTesterTest::testGetOutput()
File
- vendor/
symfony/ console/ Tests/ Tester/ CommandTesterTest.php, line 53
Class
Namespace
Symfony\Component\Console\Tests\TesterCode
public function testGetOutput() {
rewind($this->tester
->getOutput()
->getStream());
$this
->assertEquals('foo' . PHP_EOL, stream_get_contents($this->tester
->getOutput()
->getStream()), '->getOutput() returns the current output instance');
}