@Test
public void getValidationCallback() {

    presenterSpy.getValidationCallback().callback(null);
    verify(confirmPopupPresenterMock, never()).show(anyString(), anyString());
    List<FactMappingValidationError> validationErrors = new ArrayList<>();
    presenterSpy.getValidationCallback().callback(validationErrors);
    verify(confirmPopupPresenterMock, never()).show(anyString(), anyString());
    String errorMessage = "errorMessage";
    String errorId = "errorId";
    validationErrors.add(new FactMappingValidationError(errorId, errorMessage));
    presenterSpy.getValidationCallback().callback(validationErrors);
    verify(confirmPopupPresenterMock, times(1)).show(anyString(), contains(errorId));
    verify(confirmPopupPresenterMock, times(1)).show(anyString(), contains(errorMessage));
}