],
], Context::
createDefaultContext());
$bundleHierarchyBuilder =
$this->
getContainer()->
get(BundleHierarchyBuilder::
class);
$coreHierarchy =
$this->
getCoreNamespaceHierarchy();
static::
assertSame([ ...
$coreHierarchy,
'SwagThemeTest',
],
array_keys($bundleHierarchyBuilder->
buildNamespaceHierarchy([])));
} public function testItExcludesInactiveApps(): void
{ /** @var EntityRepository $appRepository */
$appRepository =
$this->
getContainer()->
get('app.repository'
);
$appRepository->
create([ [ 'name' => 'SwagThemeTest',
'path' => __DIR__ . '/Manifest/_fixtures/test',