assertEquals(BOOLEAN_VALUE, props.get("booleanProp", Boolean.class));
assertEquals(DATE_VALUE, props.get("dateProp", Date.class));
assertEquals(CALENDAR_VALUE.getTime(), props.get("calendarProp", Calendar.class).getTime());
Resource binaryPropResource = resource1.getChild("binaryProp");
InputStream is = binaryPropResource.adaptTo(InputStream.class);
byte[] dataFromResource = IOUtils.toByteArray(is);
is.close();
assertArrayEquals(BINARY_VALUE, dataFromResource);
// read second time to ensure not the original input stream was returned