/** * @testdox removeFlags() can be called on flags that haven't been set */ public function testRemoveFlagsUnset() { $tag = new Tag(Tag::START_TAG, 'X', 0, 0); $tag->setFlags(2); $tag->removeFlags(5); $this->assertSame(2, $tag->getFlags()); }