public static function setUpBeforeClass()
 {
     // Reset packagist repository
     Config::$defaultRepositories = ['packagemanager-1-0' => ['type' => 'package', 'package' => json_decode(file_get_contents(implode(DIRECTORY_SEPARATOR, [__DIR__, 'Fixtures', 'Repository', 'packagemanager', '1-0.json'])), true)], 'packagemanager-2-0' => ['type' => 'package', 'package' => json_decode(file_get_contents(implode(DIRECTORY_SEPARATOR, [__DIR__, 'Fixtures', 'Repository', 'packagemanager', '2-0.json'])), true)], 'packagemanager-3-0' => ['type' => 'package', 'package' => json_decode(file_get_contents(implode(DIRECTORY_SEPARATOR, [__DIR__, 'Fixtures', 'Repository', 'packagemanager', '3-0.json'])), true)]];
     self::$tempDirectory = rtrim(sys_get_temp_dir(), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
     $workingDirectory = self::createNewWorkingDirectory();
     self::callComposer('init');
     if (file_exists($workingDirectory . 'composer.json')) {
         unlink($workingDirectory . 'composer.json');
         self::$composerIsAvailable = true;
     }
     rmdir($workingDirectory);
     self::$workingDirectory = [];
 }
 protected function setUp()
 {
     parent::setUp();
     // Reset packagist repository
     Config::$defaultRepositories = ['packagemanager-1-0' => ['type' => 'package', 'package' => json_decode(file_get_contents(implode(DIRECTORY_SEPARATOR, [__DIR__, 'Fixtures', 'Repository', 'packagemanager', '1-0.json'])), true)]];
 }