class KernelPluginLoaderTest extends TestCase
{ /**
* @dataProvider classLoaderDataProvider
*/
public function testClassMapAuthoritativeWillBeDeactivated(bool
$enabled): void
{ $classLoader =
new ClassLoader();
$classLoader->
setClassMapAuthoritative($enabled);
$fakeLoader =
new StaticKernelPluginLoader( $classLoader,
null,
[ [ 'name' => 'ExampleBundle',
'baseClass' => ExampleBundle::
class,
'path' => __DIR__ . '/../_fixtures/ExampleBundle',
'active' => true,
'managedByComposer' => false,