public function testExecute()
{
$application = $this->getApplication();
$application->add(new DuplicatesCommand());
$command = $this->getApplication()->find('dev:theme:duplicates');
$commandTester = new CommandTester($command);
$commandTester->execute(array('command' => $command->getName(), 'theme' => 'base/default', 'originalTheme' => 'base/default'));
$display = $commandTester->getDisplay();
$this->assertContainsPath('template/catalog/product/price.phtml', $display);
$this->assertContainsPath('layout/catalog.xml', $display);
$this->assertNotContains('No duplicates was found', $display);
}