public function testSetGetVersion() { $application =
new Application();
$application->
setVersion('bar'
);
$this->
assertEquals('bar',
$application->
getVersion(), '->setVersion() sets the version of the application'
);
} public function testGetLongVersion() { $application =
new Application('foo', 'bar'
);
$this->
assertEquals('foo <info>bar</info>',
$application->
getLongVersion(), '->getLongVersion() returns the long version of the application'
);
} public function testHelp() { $application =
new Application();
$this->
assertStringEqualsFile(self::
$fixturesPath.'/application_gethelp.txt',
$this->
normalizeLineBreaks($application->
getHelp()), '->getHelp() returns a help message'
);
} public function testAll() { $application =
new Application();