public function testRemoveAttribAndGetInvalidAttrib() { $tag = new Tag('span'); $tag->setAttrib('title', 'teste'); $tag->removeAttrib('title'); $tag->removeAttrib('other'); $this->assertNull($tag->getAttrib('title')); }