public async Task CalculateDiscount_ReturnsFivePercentPlusFiveOnEveryHundredOfAmount_WhenCustomerForOverTwoYears()
        {
            // Arrange
            var invoiceService = new InvoiceDomainService(_discountRepoMock.Object);
            var customerRole   = "General";
            //Act
            var result = await invoiceService.CalculateDiscount(_totalAmount, _totalAmountWithoutGroceries, customerRole, _customerRegistrationDate);

            //Assert
            Assert.Equal(900m, result);
        }
        public async Task CalculateDiscount_ReturnsFiveOnEveryHundredOfAmount_WhenCustomerRoleIsCustomerForLessThanTwoYears()
        {
            // Arrange
            var invoiceService  = new InvoiceDomainService(_discountRepoMock.Object);
            var customerRole    = "Customer";
            var customerRegDate = DateTime.Now;
            //Act
            var result = await invoiceService.CalculateDiscount(_totalAmount, _totalAmountWithoutGroceries, customerRole, customerRegDate);

            //Assert
            Assert.Equal(500m, result);
        }
        public async Task CalculateDiscount_ReturnsZero_WhenCustomerRoleIsCustomerForLessThanTwoYearsAndAmountIsLessThan100()
        {
            // Arrange
            var invoiceService  = new InvoiceDomainService(_discountRepoMock.Object);
            var customerRole    = "Customer";
            var customerRegDate = DateTime.Now;
            var amt             = 90;
            //Act
            var result = await invoiceService.CalculateDiscount(amt, amt, customerRole, customerRegDate);

            //Assert
            Assert.Equal(0m, result);
        }