Search in sources :

Example 1 with BSHFilter

use of org.jpos.bsh.BSHFilter in project jPOS by jpos.

the class BaseChannelTest method testRemoveFilter1.

@Test
public void testRemoveFilter1() throws Throwable {
    BaseChannel gZIPChannel = new GZIPChannel();
    gZIPChannel.removeFilter(new BSHFilter(), 1);
    assertEquals("(GZIPChannel) gZIPChannel.incomingFilters.size()", 0, ((GZIPChannel) gZIPChannel).incomingFilters.size());
}
Also used : BSHFilter(org.jpos.bsh.BSHFilter) GZIPChannel(org.jpos.iso.channel.GZIPChannel) Test(org.junit.Test)

Aggregations

BSHFilter (org.jpos.bsh.BSHFilter)1 GZIPChannel (org.jpos.iso.channel.GZIPChannel)1 Test (org.junit.Test)1