use of org.jpos.iso.channel.LogChannel in project jPOS by jpos.
the class StatefulFilterTest method testFilter4.
@Test
public void testFilter4() throws Throwable {
StatefulFilter statefulFilter = new StatefulFilter();
statefulFilter.setConfiguration(new SimpleConfiguration());
statefulFilter.setSavedFields(null);
ISOMsg m = new ISOMsg("testStatefulFilterMti");
m.setDirection(1);
ISOMsg result = statefulFilter.filter(new LogChannel(), m, new LogEvent("testStatefulFilterTag", new Object()));
assertSame("result", m, result);
}
Aggregations