Ejemplo n.º 1
0
 /**
  * @testdox unsetTag() unsets the value stored by setTag()
  */
 public function testUnsetTag()
 {
     $logger = new Logger();
     $tag = new Tag(Tag::SELF_CLOSING_TAG, 'foo', 'FOO', 1, 2);
     $logger->setTag($tag);
     $logger->unsetTag();
     $logger->debug('Hi');
     $this->assertSame([['debug', 'Hi', []]], $logger->get());
 }