Map<String, List<Value>> expectedProps) throws Exception {
for (Map.Entry<String, List<Value>> entry : expectedProps.entrySet()) {
Property prop = document.findProperty(entry.getKey());
assertNotNull(prop);
for (Value expectedValue : entry.getValue()) {
Value value = prop.nextValue();
assertNotNull(value);
if (value instanceof BinaryValue) {
assertEquals(getStringFromBinaryValue(expectedValue),
getStringFromBinaryValue(value));
} else {