diff --git a/tests/ZendTest/Code/Generator/ClassGeneratorTest.php b/tests/ZendTest/Code/Generator/ClassGeneratorTest.php index a2c14f54f11..f1ba32b6edf 100644 --- a/tests/ZendTest/Code/Generator/ClassGeneratorTest.php +++ b/tests/ZendTest/Code/Generator/ClassGeneratorTest.php @@ -466,6 +466,15 @@ public function testHasMethodInsensitive() $this->assertTrue($classGenerator->hasMethod('MethoDonE')); } + public function testRemoveMethodInsensitive() + { + $classGenerator = new ClassGenerator(); + $classGenerator->addMethod('methodOne'); + + $classGenerator->removeMethod('METHODONe'); + $this->assertFalse($classGenerator->hasMethod('methodOne')); + } + public function testGenerateClassAndAddMethod() { $classGenerator = new ClassGenerator();