You are here

public function LegacyProgressHelperTest::testSetCurrentBeforeStarting in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Helper/LegacyProgressHelperTest.php \Symfony\Component\Console\Tests\Helper\LegacyProgressHelperTest::testSetCurrentBeforeStarting()

@expectedException \LogicException @expectedExceptionMessage You must start the progress bar

File

vendor/symfony/console/Tests/Helper/LegacyProgressHelperTest.php, line 137

Class

LegacyProgressHelperTest
@group legacy

Namespace

Symfony\Component\Console\Tests\Helper

Code

public function testSetCurrentBeforeStarting() {
  $progress = new ProgressHelper();
  $progress
    ->setCurrent(15);
}