@Test
public void testNewPerspective() {

    navTreeEditor.setOnUpdateCommand(updateCommand);
    navTreeEditor.edit(NAV_TREE);
    navTreeEditor.collapse();
    assertFalse(navTreeEditor.isExpanded());
    reset(view);
    NavItemEditor navItemEditor = navTreeEditor.newPerspective();
    assertEquals(((NavGroup) navTreeEditor.getNavItem()).getChildren().size(), 2);
    assertTrue(navTreeEditor.isExpanded());
    verify(navItemEditor).startEdition();
    verify(view, times(3)).addChild(any());
    verify(updateCommand, never()).execute();
}