'path' => 'src/FakePlugin',
'autoload' =>
[ 'psr-4' =>
[ 'Shopware\\FakePlugin\\' => 'src/',
],
],
'managedByComposer' => true,
],
] );
$kernelPluginLoader->
initializePlugins($this->
getContainer()->
getParameter('kernel.project_dir'
));
$kernelMock ->
expects(static::
exactly(2
)) ->
method('getPluginLoader'
) ->
willReturn($kernelPluginLoader);
$kernelMock ->
expects(static::
exactly(1
)) ->
method('getBundles'
) ->
willReturn([new BundleFixture('SomeBundle', __DIR__ . '/fixtures/caseBundleLoading/bundle'
)]);