factory = new AppOptionsFactory(); } /** * @test */ public function serviceIsCreated() { $instance = $this->factory->__invoke(new ServiceManager([]), ''); $this->assertInstanceOf(AppOptions::class, $instance); } }