### Question:
ExcludeClassifiedMarkerFilter extends
		AbstractMatcherFilter<ILoggingEvent> { public FilterReply decide(ILoggingEvent event) { if (!isStarted()) { return FilterReply.NEUTRAL; } Marker eventMarker = event.getMarker(); if (eventMarker == null) { return FilterReply.NEUTRAL; } if (eventMarker.hasReferences()) { for (Marker marker : markersToMatch) { if (eventMarker.contains(marker)) { return FilterReply.DENY; } } } else { if (markersToMatch.contains(eventMarker)) { return FilterReply.DENY; } } return FilterReply.NEUTRAL; }  FilterReply decide(ILoggingEvent event); static final List<Marker> markersToMatch; }### Answer:
@Test public void testRaw() { ExcludeClassifiedMarkerFilter mkt = new ExcludeClassifiedMarkerFilter(); mkt.setContext(loggerContext); mkt.start(); assertTrue(mkt.isStarted()); ILoggingEvent nulEvent = new LoggingEvent(); assertEquals(FilterReply.NEUTRAL, mkt.decide(nulEvent)); LoggingEvent confidentialEvent = new LoggingEvent(); confidentialEvent.setMarker(SecurityMarkers.CONFIDENTIAL); assertEquals(FilterReply.DENY, mkt.decide(confidentialEvent)); LoggingEvent restrictedEvent = new LoggingEvent(); restrictedEvent.setMarker(SecurityMarkers.RESTRICTED); assertEquals(FilterReply.DENY, mkt.decide(restrictedEvent)); LoggingEvent secretEvent = new LoggingEvent(); secretEvent.setMarker(SecurityMarkers.SECRET); assertEquals(FilterReply.DENY, mkt.decide(secretEvent)); LoggingEvent topSecretEvent = new LoggingEvent(); topSecretEvent.setMarker(SecurityMarkers.TOP_SECRET); assertEquals(FilterReply.DENY, mkt.decide(topSecretEvent)); LoggingEvent normalEvent = new LoggingEvent(); normalEvent.setMarker(SecurityMarkers.EVENT_SUCCESS); assertEquals(FilterReply.NEUTRAL, mkt.decide(nulEvent)); }