@Test
public void testOpenItem() {

    NavItem navItem = tree.getItemById("A");
    presenter.openItem(navItem);
    assertEquals(presenter.getNavItemStack().size(), 2);
    verify(view, times(3)).addTileWidget(tileWidget);
    verify(view).clearBreadcrumb();
    verify(view).addBreadcrumbItem(eq("Home"), any());
    verify(view).addBreadcrumbItem(eq("A"));
    reset(view);
    navItem = tree.getItemById("A3");
    presenter.openItem(navItem);
    assertEquals(presenter.getNavItemStack().size(), 3);
    verify(view, times(1)).addTileWidget(tileWidget);
    verify(view).clearBreadcrumb();
    verify(view).addBreadcrumbItem(eq("Home"), any());
    verify(view).addBreadcrumbItem(eq("A"), any());
    verify(view).addBreadcrumbItem(eq("A3"));
}