public function testInstallation()
{
$container = new ContainerBuilder();
$container->setParameter('kernel.root_dir', $this->getRootDir() . '/app');
$container->setParameter('contao.upload_path', 'files');
$container->setParameter('contao.image.target_path', 'assets/images');
$command = new InstallCommand('contao:install');
$command->setContainer($container);
$tester = new CommandTester($command);
$code = $tester->execute([]);
$display = $tester->getDisplay();
$this->assertEquals(0, $code);
$this->assertContains(' * files', $display);
$this->assertContains(' * templates', $display);
$this->assertContains(' * web/system', $display);
$this->assertContains(' * assets/css', $display);
$this->assertContains(' * assets/images', $display);
$this->assertContains(' * assets/js', $display);
$this->assertContains(' * system/cache', $display);
$this->assertContains(' * system/config', $display);
$this->assertContains(' * system/tmp', $display);
}