/** * @covers Configuration\Configuration::factory */ public function testFactory() { $this->object->attachParser(new PHPParser()); $this->assertEquals(PHPParser::class, get_class($this->object->factory('../config.php'))); }