public OrderCalculatorUnitTests() { orderShippingCalculator = new OrderCalculator(); }
public OrderSender(IOrderShippingCalculator orderShippingCalculator, IMessageService messageService) { this.orderShippingCalculator = orderShippingCalculator ?? throw new ArgumentNullException(nameof(orderShippingCalculator)); this.messageService = messageService; }