public function ApplicationTesterTest::testGetOutput in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Tester/ApplicationTesterTest.php \Symfony\Component\Console\Tests\Tester\ApplicationTesterTest::testGetOutput()
File
- vendor/
symfony/ console/ Tests/ Tester/ ApplicationTesterTest.php, line 54
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');
}