factory = new AuthenticationPluginManagerFactory(); } /** @test */ public function serviceIsProperlyCreated() { $instance = $this->factory->__invoke(new ServiceManager(['services' => [ 'config' => [], ]]), ''); $this->assertInstanceOf(AuthenticationPluginManager::class, $instance); } }