public function testDesc() { $f = FunctionGenerator::factory('newFunction'); $f->setDesc('This is a test function'); $f->setDesc('This is REALLY a test function'); $this->assertEquals('This is REALLY a test function', $f->getDesc()); }