use of org.jpos.iso.filter.MD5Filter in project jPOS by jpos.
the class BaseChannelTest method testAddFilter4.
@Test
public void testAddFilter4() throws Throwable {
BaseChannel bASE24Channel = new BASE24Channel("testBaseChannelHost", 100, new ISO87APackagerBBitmap());
bASE24Channel.addFilter(new MD5Filter(), 0);
assertEquals("(BASE24Channel) bASE24Channel.incomingFilters.size()", 1, ((BASE24Channel) bASE24Channel).incomingFilters.size());
assertEquals("(BASE24Channel) bASE24Channel.outgoingFilters.size()", 1, ((BASE24Channel) bASE24Channel).outgoingFilters.size());
}
Aggregations