You are here

public function ApplicationTest::testHelp 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::testHelp()

File

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

Class

ApplicationTest

Namespace

Symfony\Component\Console\Tests

Code

public function testHelp() {
  $application = new Application();
  $this
    ->assertStringEqualsFile(self::$fixturesPath . '/application_gethelp.txt', $this
    ->normalizeLineBreaks($application
    ->getHelp()), '->getHelp() returns a help message');
}