/**
* @internal
*/
class ExtensionStoreActionsControllerTest extends TestCase
{ use AdminApiTestBehaviour;
use IntegrationTestBehaviour;
public function testRefreshExtensions(): void
{ $controller =
new ExtensionStoreActionsController( $this->
createMock(ExtensionLifecycleService::
class),
$this->
createMock(ExtensionDownloader::
class),
$pluginService =
$this->
createMock(PluginService::
class),
$this->
createMock(PluginManagementService::
class) );
$pluginService->
expects(static::
once())->
method('refreshPlugins'
);
static::
assertInstanceOf(Response::
class,
$controller->
refreshExtensions(Context::
createDefaultContext()));
}