Exemplo n.º 1
0
 public function testGetSynopsis()
 {
     $command = new \TestCommand();
     $command->addOption('foo');
     $command->addArgument('foo');
     $this->assertEquals('namespace:name [--foo] [foo]', $command->getSynopsis(), '->getSynopsis() returns the synopsis');
 }