public void testListeners_clearAll() {
final MultiMap mm = client.getMultiMap(randomString());
MyEntryListener listener = new CountDownValueNullListener(1);
mm.addEntryListener(listener, false);
mm.put("key", "value");
mm.clear();
assertOpenEventually(listener.addLatch);
assertOpenEventually(listener.clearLatch);
}
@Test