@Test
public void simulateVersionFilter() throws Exception {
// setup logger to see if we actually log anything
LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory();
Logger srLogger = lc.getLogger(StatusResource.class);
Appender mockapp = mock(Appender.class);
srLogger.addAppender(mockapp);
srLogger.setLevel(Level.DEBUG);
ArgumentCaptor<LoggingEvent> message = ArgumentCaptor.forClass(LoggingEvent.class);
PrintStream ps = new PrintStream(new File(this.getClass()