public function testStatic() { $m = MethodGenerator::factory('testMethod'); $m->setStatic(true); $this->assertTrue($m->isStatic()); }