@Test
public void testNewPerspectiveEnabled() {

    navTreeEditor.getSettings().setNewPerspectiveEnabled(true);
    assertTrue(navTreeEditor.getSettings().isNewPerspectiveEnabled(NAV_TREE.getItemById("level1b")));
    navTreeEditor.setNewPerspectiveEnabled("level1b", false);
    assertFalse(navTreeEditor.getSettings().isNewPerspectiveEnabled(NAV_TREE.getItemById("level1b")));
    assertTrue(navTreeEditor.getSettings().isNewPerspectiveEnabled(NAV_TREE.getItemById("level2b")));
    navTreeEditor.setNewPerspectiveEnabled("level1b", false).applyToAllChildren();
    assertFalse(navTreeEditor.getSettings().isNewPerspectiveEnabled(NAV_TREE.getItemById("level1b")));
    assertFalse(navTreeEditor.getSettings().isNewPerspectiveEnabled(NAV_TREE.getItemById("level2b")));
}