@Test
public void testPortableKeysetAndValuesWithPredicates() throws Exception {
final String mapName = randomString();
final Config config = new Config();
config.getSerializationConfig().addPortableFactory(666, new PortableFactory() {
public Portable create(int classId) {
return new SampleObjects.PortableEmployee();
}
});
final HazelcastInstance instance = createHazelcastInstance(config);