@Test(timeout = 1000 * 60)
public void testInPredicate() {
HazelcastInstance instance = createHazelcastInstance();
IMap<String, SampleObjects.ValueType> map = instance.getMap("testIteratorContract");
map.put("1", new ValueType("one"));
map.put("2", new ValueType("two"));
map.put("3", new ValueType("three"));
map.put("4", new ValueType("four"));
map.put("5", new ValueType("five"));
map.put("6", new ValueType("six"));
map.put("7", new ValueType("seven"));
Predicate predicate = new SqlPredicate("typeName in ('one','two')");
for (int i = 0; i < 10; i++) {
Collection<SampleObjects.ValueType> values = map.values(predicate);
assertEquals(2, values.size());
}