Exemple #1
0
 public function testGetSetHelp()
 {
     $command = new \TestCommand();
     $this->assertEquals('help', $command->getHelp(), '->getHelp() returns the help');
     $ret = $command->setHelp('help1');
     $this->assertEquals($command, $ret, '->setHelp() implements a fluent interface');
     $this->assertEquals('help1', $command->getHelp(), '->setHelp() sets the help');
 }