private ReplenishmentOrder createReplenishmentOrder(OrderState state, Date expectedDelivery) { final ReplenishmentOrder result = createReplenishmentOrder(state); result.setExpectedDelivery(expectedDelivery); return result; }
private ReplenishmentOrder createReplenishmentOrder(OrderState state) { final ReplenishmentOrder order = new ReplenishmentOrder(); order.setState(state); return order; }
private ReplenishmentOrder createReplenishmentOrder( OrderState state, Date expectedDelivery, Date actualDelivery) { final ReplenishmentOrder result = createReplenishmentOrder(state, expectedDelivery); result.setActualDelivery(actualDelivery); return result; }