public function testType() { $p = PropertyGenerator::factory('testProp', 'string', 123); $p->setType('string'); $this->assertEquals('string', $p->getType()); }