@Test
public void testOneLevelNoRecursiveIssue() throws Exception {

    when(navigationServices.loadNavTree()).thenReturn(new NavTreeBuilder()
            .group("groupA", "", "", true)
                .item("layout", "", "", true, NavWorkbenchCtx.perspective("B"))
                .endGroup()
            .build());
    LayoutRecursionIssue info = layoutTemplateAnalyzer.analyzeRecursion(layoutA);
    assertTrue(info.isEmpty());
}