@Test
public void testOnErrorEvent() {

    final ErrorEvent errorDataSetEvent = mock(ErrorEvent.class);
    when(errorDataSetEvent.getMessage()).thenReturn("errorMessage");
    presenter.onErrorEvent(errorDataSetEvent);
    verify(errorPopupPresenter, times(1)).showMessage("errorMessage");
}