@Test
public void checkDecisionTableSelectedEventNotFiredWhenEditorReceivesFocusWithoutActiveDecisionTable() {

    when(modeller.getActiveDecisionTable()).thenReturn(Optional.empty());
    presenter.onFocus();
    verify(decisionTableSelectedEvent,
           never()).fire(any(DecisionTableSelectedEvent.class));
}