@Test public void testGetCarrierSlaExcludedDatesNoneOf() throws Exception { final CarrierSlaEntity sla = new CarrierSlaEntity(); sla.setExcludeDates(""); final Map<LocalDate, LocalDate> dates = new DeliveryTimeEstimationVisitorDefaultImpl(null, null).getCarrierSlaExcludedDates(sla); assertNotNull(dates); assertTrue(dates.isEmpty()); }
protected Map<LocalDate, LocalDate> getCarrierSlaExcludedDates(final CarrierSla sla) { return sla.getExcludeDatesAsMap(); }
DeliveryTimeEstimationVisitorDefaultImpl implements DeliveryTimeEstimationVisitor, Configuration { protected Map<LocalDate, LocalDate> getCarrierSlaExcludedDates(final CarrierSla sla) { return sla.getExcludeDatesAsMap(); } }
DeliveryTimeEstimationVisitorDefaultImpl implements DeliveryTimeEstimationVisitor, Configuration { protected Map<LocalDate, LocalDate> getCarrierSlaExcludedDates(final CarrierSla sla) { return sla.getExcludeDatesAsMap(); } DeliveryTimeEstimationVisitorDefaultImpl(final WarehouseService warehouseService,
                                                    final CarrierSlaService carrierSlaService); }
DeliveryTimeEstimationVisitorDefaultImpl implements DeliveryTimeEstimationVisitor, Configuration { protected Map<LocalDate, LocalDate> getCarrierSlaExcludedDates(final CarrierSla sla) { return sla.getExcludeDatesAsMap(); } DeliveryTimeEstimationVisitorDefaultImpl(final WarehouseService warehouseService,
                                                    final CarrierSlaService carrierSlaService); @Override void visit(final CustomerOrder order); @Override void visit(final CustomerOrderDelivery delivery); @Override void visit(final MutableShoppingCart shoppingCart); @Override ConfigurationContext getCfgContext(); void setCfgContext(final ConfigurationContext cfgContext); }
DeliveryTimeEstimationVisitorDefaultImpl implements DeliveryTimeEstimationVisitor, Configuration { protected Map<LocalDate, LocalDate> getCarrierSlaExcludedDates(final CarrierSla sla) { return sla.getExcludeDatesAsMap(); } DeliveryTimeEstimationVisitorDefaultImpl(final WarehouseService warehouseService,
                                                    final CarrierSlaService carrierSlaService); @Override void visit(final CustomerOrder order); @Override void visit(final CustomerOrderDelivery delivery); @Override void visit(final MutableShoppingCart shoppingCart); @Override ConfigurationContext getCfgContext(); void setCfgContext(final ConfigurationContext cfgContext);  }