props.put("ID", Collections.singleton("abc"));
Collection<String> list = new ArrayList();
list.add("b");
list.add("c");
props.put("NAME", list);
Record r = new RecordImpl(props);
db.index(r);
db.commit();
// Then, retrieve it and verify that it's correct
r = db.findRecordById("abc");
assertEquals("abc", r.getValue("ID"));
list = r.getValues("NAME");
assertEquals(2, list.size());
assertTrue(list.contains("b"));
assertTrue(list.contains("c"));
}