/**
  * @group ZF-7361
  */
 public function testHasMethod()
 {
     $method = new Zend_CodeGenerator_Php_Method();
     $method->setName('methodOne');
     $codeGenClass = new Zend_CodeGenerator_Php_Class();
     $codeGenClass->setMethod($method);
     $this->assertTrue($codeGenClass->hasMethod('methodOne'));
 }