@Test
public void setupPopupPresenterWithScrollFailedWithException() {

    when(elementMock.getScrollTop()).thenReturn(SCROLL_TOP);
    when(elementMock.getScrollLeft()).thenReturn(SCROLL_LEFT);
    when(factMappingValueMock.getStatus()).thenReturn(FactMappingValueStatus.FAILED_WITH_EXCEPTION);
    when(factMappingValueMock.getExceptionMessage()).thenReturn(EXCEPTION);
    mouseMoveHandler.setupPopupPresenter(factMappingValueMock, ROW_INDEX, COLUMN_INDEX, DX, DY, PopoverView.Position.RIGHT);
    verify(errorReportPopupPresenterMock, times(1)).setup(
            eq(ScenarioSimulationEditorConstants.INSTANCE.errorReason()),
            eq(ScenarioSimulationEditorConstants.INSTANCE.errorPopoverMessageFailedWithException(EXCEPTION)),
            eq(ScenarioSimulationEditorConstants.INSTANCE.close()),
            eq(DX),
            eq(DY),
            eq(PopoverView.Position.RIGHT));
}