@Test
public void doNotSetupTheDocksTwice() {

    doReturn("perspectiveId").when(currentPerspective).getIdentifier();
    doReturn(true).when(docks).isSetup();
    final GuidedDecisionTableView.Presenter activeDtable = mock(GuidedDecisionTableView.Presenter.class);
    when(modeller.getActiveDecisionTable()).thenReturn(Optional.of(activeDtable));
    presenter.onFocus();
    verify(docks, never()).setup(anyString(),
                                 any());
}