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