public function testDecide()
 {
     $filter = new LoggerFilterDenyAll();
     $events = array(LoggerTestHelper::getTraceEvent(), LoggerTestHelper::getDebugEvent(), LoggerTestHelper::getInfoEvent(), LoggerTestHelper::getWarnEvent(), LoggerTestHelper::getErrorEvent(), LoggerTestHelper::getFatalEvent());
     foreach ($events as $event) {
         $actual = $filter->decide($event);
         self::assertEquals(LoggerFilter::DENY, $actual);
     }
 }
 public function testDecide()
 {
     $filter = new LoggerFilterDenyAll();
     $eventError = new LoggerLoggingEvent("LoggerAppenderEchoTest", new Logger("TEST"), LoggerLevel::getLevelError(), "testmessage");
     $eventDebug = new LoggerLoggingEvent("LoggerAppenderEchoTest", new Logger("TEST"), LoggerLevel::getLevelDebug(), "testmessage");
     $eventWarn = new LoggerLoggingEvent("LoggerAppenderEchoTest", new Logger("TEST"), LoggerLevel::getLevelWarn(), "testmessage");
     $result = $filter->decide($eventError);
     self::assertEquals($result, LoggerFilter::DENY);
     $result = $filter->decide($eventDebug);
     self::assertEquals($result, LoggerFilter::DENY);
     $result = $filter->decide($eventWarn);
     self::assertEquals($result, LoggerFilter::DENY);
 }