public CarDiscountCalculatorTests() { carDiscountCalculator = new CarDiscountCalculator(); }
public CarsController(ICarRepository carRepository, ICarDiscountCalculator carDiscountCalculator) { this.carRepository = carRepository; this.carDiscountCalculator = carDiscountCalculator; }