public function testGetFactory() { DiHelper::init(); $helper = new DiHelper(); $this->assertInstanceOf(Factory::class, $helper->getFactory(), 'Invalid return value for DiHelper::getFactory()'); }