public function testExecute()
{
$application = $this->getApplication();
$application->add(new InfoCommand());
$command = $this->getApplication()->find('db:info');
$commandTester = new CommandTester($command);
$commandTester->execute(array('command' => $command->getName()));
$this->assertRegExp('/PDO-Connection-String/', $commandTester->getDisplay());
}