/** * @covers TheSeer\phpDox\Factory::getInstanceFor * @uses TheSeer\phpDox\Factory */ public function testGetInstanceForFactory() { $factory = new Factory(); $factory->addClass('TheSeer\\phpDox\\Factory', new Factory()); $this->assertInstanceOf('TheSeer\\phpDox\\Factory', $factory->getInstanceFor('TheSeer\\phpDox\\Factory')); }