public function testGetNameAndValue() { $p = PropertyGenerator::factory('testProp', 'string', 123); $p->setValue(456); $this->assertEquals(456, $p->getValue()); }