Ejemplo n.º 1
0
 public function testGetSetDescription()
 {
     $command = new \TestCommand();
     $this->assertEquals('description', $command->getDescription(), '->getDescription() returns the description');
     $ret = $command->setDescription('description1');
     $this->assertEquals($command, $ret, '->setDescription() implements a fluent interface');
     $this->assertEquals('description1', $command->getDescription(), '->setDescription() sets the description');
 }