public function setUp()
{
$this->rootDir = realpath(__DIR__ . '/../../../../');
$this->fs = new Filesystem();
if (!$this->fs->exists($this->rootDir . '/symfony.phar')) {
throw new \RuntimeException(sprintf("Before running the tests, make sure that the Symfony Installer is available as a 'symfony.phar' file in the '%s' directory.", $this->rootDir));
}
}