cache1.put("key", pojo);
assert l.newValue instanceof Pojo : "recieved " + l.newValue.getClass().getName();
// +1 due to new marshallable checks
assertSerializationCounts(2, 0);
} finally {
cache1.removeListener(l);
}
}
public void testRemoteCallbackValues() throws Exception {
Cache cache1 = cache(0, "replSync");