protected function setUp(): void
{ // force kernel boot
KernelLifecycleManager::
bootKernel();
$this->container =
$this->
getContainer();
$this->pluginRepo =
$this->container->
get('plugin.repository'
);
$this->connection =
$this->container->
get(Connection::
class);
$this->pluginLifecycleService =
$this->
createPluginLifecycleService();
$this->context = Context::
createDefaultContext();
$this->pluginService =
$this->
createPluginService( __DIR__ . '/_fixture/plugins',
$this->container->
getParameter('kernel.project_dir'
),
$this->pluginRepo,
$this->container->
get('language.repository'
),
$this->container->
get(PluginFinder::
class) );
$this->
addTestPluginToKernel( __DIR__ . '/_fixture/plugins/SwagManualMigrationTest',
'SwagManualMigrationTest'
);