You are here

public function ProgressBarTest::testSetCurrentBeforeStarting 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::testSetCurrentBeforeStarting()

File

vendor/symfony/console/Tests/Helper/ProgressBarTest.php, line 239

Class

ProgressBarTest

Namespace

Symfony\Component\Console\Tests\Helper

Code

public function testSetCurrentBeforeStarting() {
  $bar = new ProgressBar($this
    ->getOutputStream());
  $bar
    ->setProgress(15);
  $this
    ->assertNotNull($bar
    ->getStartTime());
}