public function testExecute()
{
$application = $this->getApplication();
$application->add(new ReindexCommand());
$command = $this->getApplication()->find('index:reindex');
$commandTester = new CommandTester($command);
$commandTester->execute(array('command' => $command->getName(), 'index_code' => 'tag_summary,tag_summary'));
$this->assertContains('Successfully reindexed tag_summary', $commandTester->getDisplay());
}