public function testInstallationWithCustomPaths()
{
$container = new ContainerBuilder();
$container->setParameter('kernel.root_dir', $this->getRootDir() . '/app');
$container->setParameter('contao.upload_path', 'files_test');
$container->setParameter('contao.image.target_path', 'assets/images_test');
$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_test', $display);
$this->assertContains(' * assets/images_test', $display);
}