@Test
public void shouldCreateLevelsInsideReportingTreeWhenMultipleDictionaryLevelsStack() {

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