public function testExecute()
{
$application = $this->getApplication();
$application->add(new ListCommand());
$command = $this->getApplication()->find('sys:store:list');
$commandTester = new CommandTester($command);
$commandTester->execute(array('command' => $command->getName()));
$this->assertRegExp('/id/', $commandTester->getDisplay());
$this->assertRegExp('/code/', $commandTester->getDisplay());
}