}
private OrderElementWithAdvanceMeasurementsOrEndDateListDTO givenOrderElementWithAdvanceMeasurementsListDTO(
String orderElementCode, Map<LocalDate, BigDecimal> values,
ExternalCompany externalCompany) {
OrderElementWithAdvanceMeasurementsOrEndDateDTO orderElementWithAdvanceMeasurementsDTO = new OrderElementWithAdvanceMeasurementsOrEndDateDTO();
orderElementWithAdvanceMeasurementsDTO.code = orderElementCode;
orderElementWithAdvanceMeasurementsDTO.advanceMeasurements = givenAdvanceMeasurementDTOs(values);
return new OrderElementWithAdvanceMeasurementsOrEndDateListDTO(externalCompany.getNif(),