public function testSetGetName() { $application =
new Application();
$application->
setName('foo'
);
$this->
assertEquals('foo',
$application->
getName(), '->setName() sets the name of the application'
);
} 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() {