@Test
public void testFilter() throws Throwable {
DelayFilter delayFilter = new DelayFilter(0);
LogEvent evt = new LogEvent("testDelayFilterTag", "testString");
ISOChannel channel = new CSChannel(new Base1SubFieldPackager(), new ServerSocket());
ISOMsg result = delayFilter.filter(channel, m, evt);
assertEquals("evt.payLoad.size()", 2, evt.getPayLoad().size());
assertEquals("evt.payLoad.get(1)", "<delay-filter delay=\"0\"/>", evt.getPayLoad().get(1));
assertSame("result", m, result);
}