public function testRemoveEventProperties()
 {
     $tag = $this->getMock('QuickTag\\Model\\StoredTag');
     $result = true;
     $event = new TagRemoveEvent($result, $tag);
     $this->assertEquals($tag, $event->getRemovedTag());
     $this->assertEquals($result, $event->getResult());
 }
 /**
  *  Log remove event
  *
  *  @access public
  *  @param TagRemoveEvent $event 
  */
 public function logRemoveEvent(TagRemoveEvent $event)
 {
     if ($event->getResult() === true) {
         $this->log->info(sprintf('QuickTag:: Remove tag at ID %s with title %s', (string) $event->getRemovedTag()->getTagId(), (string) $event->getRemovedTag()->getTitle()), array());
     } else {
         $this->log->info(sprintf('QuickTag:: Failed to remove tag at ID %s with title %s', (string) $event->getRemovedTag()->getTagId(), (string) $event->getRemovedTag()->getTitle()), array());
     }
 }