public function ProgressBarTest::testDisplayWithQuietVerbosity in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Helper/ProgressBarTest.php \Symfony\Component\Console\Tests\Helper\ProgressBarTest::testDisplayWithQuietVerbosity()
File
- vendor/
symfony/ console/ Tests/ Helper/ ProgressBarTest.php, line 138
Class
Namespace
Symfony\Component\Console\Tests\HelperCode
public function testDisplayWithQuietVerbosity() {
$bar = new ProgressBar($output = $this
->getOutputStream(true, StreamOutput::VERBOSITY_QUIET), 50);
$bar
->display();
rewind($output
->getStream());
$this
->assertEquals('', stream_get_contents($output
->getStream()));
}