getLanguagePluginList example

->method('getLanguagePlugins')
            ->willReturn([
                (new StorePluginStruct())->assign(['name' => $plugin1Name]),
            ]);

        $frwController = new FirstRunWizardController(
            $this->firstRunWizardService,
            $pluginRepository,
            $appRepository,
        );

        $response = $frwController->getLanguagePluginList($context);
        $responseData = $this->decodeJsonResponse($response);

        static::assertArrayHasKey('items', $responseData);
        static::assertArrayHasKey('total', $responseData);
    }

    public function testTryingToGetLanguagePluginListFails(): void
    {
        $context = $this->createContext();

        $pluginRepository = new StaticEntityRepository([
            
Home | Imprint | This part of the site doesn't use cookies.