$this->systemConfigService,
$this->container->
get(CustomEntityPersister::
class),
$this->container->
get(CustomEntitySchemaUpdater::
class),
$this->container->
get(CustomEntityLifecycleService::
class),
$this->container->
get(PluginService::
class),
$this->container->
get(VersionSanitizer::
class),
);
$context = Context::
createDefaultContext();
$context->
addState(PluginLifecycleService::STATE_SKIP_ASSET_BUILDING
);
$this->
createPlugin($this->pluginRepo,
$context, SwagTest::PLUGIN_OLD_VERSION
);
$plugin =
$this->
getPlugin($context);
$service->
installPlugin($plugin,
$context);
$service->
activatePlugin($plugin,
$context);
$service->
uninstallPlugin($plugin,
$context);
$context->
removeState(PluginLifecycleService::STATE_SKIP_ASSET_BUILDING
);
$service->
installPlugin($plugin,
$context);
$service->
activatePlugin($plugin,
$context);
}