diff --git a/tests/unit/DocBlockTest.php b/tests/unit/DocBlockTest.php index bb9356f..cb6ff1f 100644 --- a/tests/unit/DocBlockTest.php +++ b/tests/unit/DocBlockTest.php @@ -262,11 +262,16 @@ class DocBlockTest extends \PHPUnit_Framework_TestCase public function testRemoveTag() { $someTag = new Deprecated(); + $anotherTag = new Deprecated(); $fixture = new DocBlock('', null, [$someTag]); $this->assertCount(1, $fixture->getTags()); + $fixture->removeTag($anotherTag); + + $this->assertCount(1, $fixture->getTags()); + $fixture->removeTag($someTag); $this->assertCount(0, $fixture->getTags());