public void TotalDiscountCost_Success(double discountOnePrice, double discountTwoPrice, int discountOneQty, int discountTwoQty, double expectedResult) { //Arrange _sut = new BusinessCore.Areas.ShoppingBasket.Models.ShoppingBasket { Discounts = new List <IDiscount> { new Discount { PricePerOffer = discountOnePrice, Qty = discountOneQty }, new Discount { PricePerOffer = discountTwoPrice, Qty = discountTwoQty } } }; //Act var result = _sut.TotalDiscountCost(); //Assert result.Should().Be(expectedResult); }