public function ProgressBarTest::testFinishWithoutStart 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::testFinishWithoutStart()
File
- vendor/
symfony/ console/ Tests/ Helper/ ProgressBarTest.php, line 150
Class
Namespace
Symfony\Component\Console\Tests\HelperCode
public function testFinishWithoutStart() {
$bar = new ProgressBar($output = $this
->getOutputStream(), 50);
$bar
->finish();
rewind($output
->getStream());
$this
->assertEquals($this
->generateOutput(' 50/50 [============================] 100%'), stream_get_contents($output
->getStream()));
}