public void testPerformQuery_SingleEntity() throws Exception {
e1Helper.deleteAll();
e1Helper.insert(3).insert(4);
StringIdQuery query = new StringIdQuery("E1:3", "E1:4", "E1:5");
QueryResponse response = runtime.newContext().performGenericQuery(query);
assertEquals(1, response.size());
assertEquals(2, response.firstList().size());
Set<Number> ids = new HashSet<Number>();
DataRow r1 = (DataRow) response.firstList().get(0);
ids.add((Number) r1.get("ID"));
DataRow r2 = (DataRow) response.firstList().get(1);
ids.add((Number) r2.get("ID"));
assertTrue(ids.contains(3l));
assertTrue(ids.contains(4l));
}