public function testUninstallForceActuallyRemoves()
{
$application = $this->getApplication();
$application->add(new UninstallCommand());
$command = $this->getApplication()->find('uninstall');
$commandTester = new CommandTester($command);
$commandTester->execute(array('command' => $command->getName(), '--force' => true, '--installationFolder' => $this->getTestMagentoRoot()));
$this->assertContains("Dropped database", $commandTester->getDisplay());
$this->assertContains("Remove directory " . $this->getTestMagentoRoot(), $commandTester->getDisplay());
$this->assertContains("Done", $commandTester->getDisplay());
$this->assertFileNotExists($this->getTestMagentoRoot() . '/app/etc/local.xml');
}