@Test
public void isShown() {

    when(rootPanelMock.getWidgetIndex(viewMock)).thenReturn(1);
    assertTrue(baseMenu.isShown());
    when(rootPanelMock.getWidgetIndex(viewMock)).thenReturn(-1);
    assertFalse(baseMenu.isShown());
}