HazelcastInstance instance = nodeFactory.newHazelcastInstance(cfg);
IMap<String, MyObject> map = instance.getMap(mapName);
map.executeOnKey("key", new StoreOperation());
Integer serialized = (Integer) map.executeOnKey("key", new FetchSerializedCount());
assertEquals(expectedSerializationCount, serialized.intValue());
instance.shutdown();
}
@Test
public void testEntryProcessorNoDeserializationWithObjectFormat() {
final String mapName = randomMapName();