You are here

public function ApplicationTesterTest::testGetOutput in Zircon Profile 8

Same name and namespace in other branches
  1. 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

ApplicationTesterTest

Namespace

Symfony\Component\Console\Tests\Tester

Code

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');
}