final SimpleClient client = getClient();
client.send(new RemoveListenerRequest(queueName, registrationId));
boolean result = (Boolean) client.receive();
assertTrue(result);
queue.offer("item3");
assertSizeEventually(3, queue);
assertNotEquals(3, addCounter.get());
}
private static class TestListener implements ItemListener {