Search in sources :

Example 1 with XSLTFilter

use of org.jpos.iso.filter.XSLTFilter in project jPOS by jpos.

the class BaseChannelTest method testRemoveIncomingFilter.

@Test
public void testRemoveIncomingFilter() throws Throwable {
    BaseChannel bASE24Channel = new BASE24Channel("testBaseChannelHost", 100, new ISO87APackagerBBitmap());
    bASE24Channel.removeIncomingFilter(new XSLTFilter());
    assertEquals("(BASE24Channel) bASE24Channel.incomingFilters.size()", 0, ((BASE24Channel) bASE24Channel).incomingFilters.size());
}
Also used : BASE24Channel(org.jpos.iso.channel.BASE24Channel) XSLTFilter(org.jpos.iso.filter.XSLTFilter) ISO87APackagerBBitmap(org.jpos.iso.packager.ISO87APackagerBBitmap) Test(org.junit.Test)

Aggregations

BASE24Channel (org.jpos.iso.channel.BASE24Channel)1 XSLTFilter (org.jpos.iso.filter.XSLTFilter)1 ISO87APackagerBBitmap (org.jpos.iso.packager.ISO87APackagerBBitmap)1 Test (org.junit.Test)1