@Test
public void parseFlat() {

    List<Operation> operations = Arrays.stream(FLAT_TEMPLATES)
            .map(template -> new Operation.Builder(AddressTemplate.of(template).resolve(StatementContext.NOOP),
                    READ_RESOURCE_DESCRIPTION_OPERATION
            ).build())
            .collect(toList());
    Composite composite = new Composite(operations);
    ModelNode modelNode = ExternalModelNode
            .read(CompositeRrdParserTest.class.getResourceAsStream("composite_rrd_flat_description_only.dmr"));
    RrdResult rrdResult = new CompositeRrdParser(composite).parse(new CompositeResult(modelNode));
    assertResourceDescriptions(rrdResult, 6, FLAT_TEMPLATES);
}