/**
  * @return CommandTester
  */
 protected function createCommandTester()
 {
     $application = new Application();
     $application->add(new CiconiaCommand());
     $command = $application->find('ciconia');
     return new CommandTester($command);
 }
Exemple #2
0
 public function testIsApplicationRunAsASingleCommand()
 {
     $application = new Application();
     $application->doRun(new ArrayInput(array()), new \Symfony\Component\Console\Output\NullOutput());
 }