public function testAbstract() { $m = MethodGenerator::factory('testMethod'); $m->setAbstract(true); $this->assertTrue($m->isAbstract()); }