You are here

public function ApplicationTest::testGetLongVersion in Zircon Profile 8.0

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

File

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

Class

ApplicationTest

Namespace

Symfony\Component\Console\Tests

Code

public function testGetLongVersion() {
  $application = new Application('foo', 'bar');
  $this
    ->assertEquals('<info>foo</info> version <comment>bar</comment>', $application
    ->getLongVersion(), '->getLongVersion() returns the long version of the application');
}