assertEquals("hello world", result);
NotifyingListAppender listAppender = (NotifyingListAppender) REQYEST_LOG_IMPL
.getAppender("list");
synchronized (listAppender) {
listAppender.wait(100);
}
assertTrue(listAppender.list.size() > 0);
IAccessEvent event = listAppender.list.get(0);
assertEquals("127.0.0.1", event.getRemoteHost());