/** * @group ZF-7361 */ public function testHasProperty() { $property = new Zend_CodeGenerator_Php_Property(); $property->setName('propertyOne'); $codeGenClass = new Zend_CodeGenerator_Php_Class(); $codeGenClass->setProperty($property); $this->assertTrue($codeGenClass->hasProperty('propertyOne')); }