You are here

public function ApplicationTest::testGetDefaultHelperSetReturnsDefaultValues in Zircon Profile 8

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

File

vendor/symfony/console/Tests/ApplicationTest.php, line 763

Class

ApplicationTest

Namespace

Symfony\Component\Console\Tests

Code

public function testGetDefaultHelperSetReturnsDefaultValues() {
  $application = new Application();
  $application
    ->setAutoExit(false);
  $application
    ->setCatchExceptions(false);
  $helperSet = $application
    ->getHelperSet();
  $this
    ->assertTrue($helperSet
    ->has('formatter'));
  $this
    ->assertTrue($helperSet
    ->has('dialog'));
  $this
    ->assertTrue($helperSet
    ->has('progress'));
}