Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
added testRemoveMethodInsensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Dec 11, 2013
1 parent daabc8b commit a7e9391
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/ZendTest/Code/Generator/ClassGeneratorTest.php
Expand Up @@ -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();
Expand Down

0 comments on commit a7e9391

Please sign in to comment.