use of org.jpos.iso.Connector in project jPOS by jpos.
the class QMUXTest method testRemoveISORequestListener1.
@Test
public void testRemoveISORequestListener1() throws Throwable {
QMUX qMUX = new QMUX();
ISORequestListener l = new Connector();
qMUX.addISORequestListener(l);
boolean result = qMUX.removeISORequestListener(l);
assertEquals("qMUX.listeners.size()", 0, qMUX.listeners.size());
assertFalse("qMUX.listeners.contains(l)", qMUX.listeners.contains(l));
assertTrue("result", result);
}
use of org.jpos.iso.Connector in project jPOS by jpos.
the class QMUXTest method testRemoveISORequestListener.
@Test
public void testRemoveISORequestListener() throws Throwable {
QMUX qMUX = new QMUX();
boolean result = qMUX.removeISORequestListener(new Connector());
assertFalse("result", result);
assertEquals("qMUX.listeners.size()", 0, qMUX.listeners.size());
}
Aggregations