@Test
public void testAggregation() {

    AggregatingNodeDataResolver resolver = new AggregatingNodeDataResolver(asList(
            newDelegate("node1", 1),
            newDelegate("node2", 2))
    );
    assertThat(resolver.resolve()).hasSize(2);
}