@Test
public void shouldCreateLevelsInsideReportingTreeBasedOnSkeletonWithMatchingDictionaryOnlyFlag() {

    // given
    ReportingTree<String> tree = reportingTree().withOnlyExactLevels(4).build();
    // ROOT/*/A/*
    ReportSkeleton skeleton = ReportSkeleton.reportSkeleton()
            .withLevel(level()
                    .withChild("A",
                            level()
                    )
            );
    logger.debug(skeleton.toString());
    // when
    skeletonToTreeConverter.createTreeLevels(tree, skeleton);
    // then
    assertThat(tree).hasDepth(4).levelAt(1).isDictionaryLevel();
}