createPluginDownloadDataStruct example

$pluginManagementService = new PluginManagementService(
            '',
            $this->createMock(PluginZipDetector::class),
            $extractor,
            $pluginService,
            $this->createMock(Filesystem::class),
            $this->createMock(CacheClearer::class),
            $client
        );

        $pluginManagementService->downloadStorePlugin(
            $this->createPluginDownloadDataStruct('location', 'plugin'),
            Context::createDefaultContext()
        );
    }

    public function testExtractPluginWithDetectedPlugin(): void
    {
        $client = $this->createClient([new Response()]);

        $pluginService = $this->createMock(PluginService::class);

        $pluginZipDetector = $this->createMock(PluginZipDetector::class);
        
Home | Imprint | This part of the site doesn't use cookies.