/** Test fetch smartpoints to map. */
  @Test
  public void testFetchSmartpointsToMap() {
    // Success situation
    InquiryLightRequest request =
        TestBaseUtil.createInquiryLightRequest(TestBaseUtil.createUserContext());
    request.setGeoCodeTrunc(1);
    InternalResultsResponse<GeocodeSmartpointInfo> response =
        getSmartPointAccessorBCL().fetchSmartpointsToMap(request);
    assertResultResponse(response);

    resetMocksToSmartPointArea();

    // Error situation
    setSituation(
        getSmartPointAccessorBCL(),
        SituationsEnum.ERROR,
        ISmartPointDAC.class,
        "fetchSmartpointsToMap");
    response = getSmartPointAccessorBCL().fetchSmartpointsToMap(request);
    assertMessages(response, ERROR_CODE);
  }