use of org.jpos.iso.channel.X25Channel in project jPOS by jpos.
the class BaseChannelTest method testApplyOutgoingFilters1.
@Test
public void testApplyOutgoingFilters1() throws Throwable {
BaseChannel x25Channel = new X25Channel();
ISOMsg result = x25Channel.applyOutgoingFilters(null, new LogEvent(new CTCSubFieldPackager(), "testBaseChannelTag"));
assertNull(result, "result");
}
use of org.jpos.iso.channel.X25Channel in project jPOS by jpos.
the class BaseChannelTest method testSetOutgoingFilters.
@Test
public void testSetOutgoingFilters() throws Throwable {
BaseChannel x25Channel = new X25Channel();
x25Channel.setOutgoingFilters(new ArrayList());
assertEquals(0, ((X25Channel) x25Channel).outgoingFilters.size(), "(X25Channel) x25Channel.outgoingFilters.size()");
}
use of org.jpos.iso.channel.X25Channel in project jPOS by jpos.
the class BaseChannelTest method testAddFilter1.
@Test
public void testAddFilter1() throws Throwable {
BaseChannel x25Channel = new X25Channel();
x25Channel.addFilter(new StatefulFilter(), 100);
assertEquals(0, ((X25Channel) x25Channel).incomingFilters.size(), "(X25Channel) x25Channel.incomingFilters.size()");
assertEquals(0, ((X25Channel) x25Channel).outgoingFilters.size(), "(X25Channel) x25Channel.outgoingFilters.size()");
}
Aggregations