$newTestKernel->
boot();
$cacheDir =
$newTestKernel->
getCacheDir();
$newTestKernel->
shutdown();
return $cacheDir;
} private function createUploadedFile(): UploadedFile
{ return new UploadedFile(self::PLUGIN_ZIP_FIXTURE_PATH, self::TEST_PLUGIN_ZIP_NAME, null, null, true
);
} private function getPluginManagementService(): PluginManagementService
{ return new PluginManagementService( self::PLUGINS_PATH,
new PluginZipDetector(),
new PluginExtractor([ 'plugin' => self::PLUGINS_PATH,
'app' => self::APPS_PATH,
],
$this->filesystem
),