@Test
public void testWithAggregateAtCorrectLevel() {

    Map<String, DocViewProperty> props = new HashMap<>();
    props.put("prop1", new DocViewProperty("prop1", new String[] { "value1" } , false, PropertyType.STRING));
    DocViewNode node = new DocViewNode("somename", "somename", null, props, null, "nt:unstructured");
    Collection<ValidationMessage> messages = validator.validate(node, "/apps/test/deep", Paths.get(".content.xml"), true);
    Assert.assertThat(messages, AnyValidationMessageMatcher.noValidationInCollection());
}