'autoload' =>
['psr-4' =>
['SwagTestSkipRebuild\\' => 'src/'
]],
'createdAt' =>
new \
DateTimeImmutable('2019-01-01'
),
'managedByComposer' => false,
]);
$plugin->
setInstalledAt(new \
DateTimeImmutable());
return $plugin;
} protected function getActivePlugin(): PluginEntity
{ $active =
$this->
getInstalledInactivePlugin();
$active->
setActive(true
);
return $active;
} protected function getActivePluginWithBundle(): PluginEntity
{ $plugin =
new PluginEntity();
$plugin->
assign([ 'id' => Uuid::
randomHex(),
'name' => 'SwagTestWithBundle',