You are here

public function ProgressBarTest::testDisplayWithQuietVerbosity in Zircon Profile 8

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

ProgressBarTest

Namespace

Symfony\Component\Console\Tests\Helper

Code

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