public function testSetAndGetIsInterface() { $m = MethodGenerator::factory('testMethod'); $m->setInterface(true); $this->assertTrue($m->isInterface()); }