}
@Test
public void testPageContentProperties() {
Resource resource = this.resourceResolver.getResource("/content/sample/en/toolbar/profiles/jcr:content");
ValueMap props = ResourceUtil.getValueMap(resource);
assertEquals(true, props.get("hideInNav", Boolean.class));
assertEquals((Long) 1234567890123L, props.get("longProp", Long.class));
assertEquals(1.2345d, props.get("decimalProp", Double.class), 0.00001d);
assertEquals(true, props.get("booleanProp", Boolean.class));
assertArrayEquals(new Long[] { 1234567890123L, 55L }, props.get("longPropMulti", Long[].class));
assertArrayEquals(new Double[] { 1.2345d, 1.1d }, props.get("decimalPropMulti", Double[].class));
assertArrayEquals(new Boolean[] { true, false }, props.get("booleanPropMulti", Boolean[].class));
}