public void CalculateFinalPricesAfter12Noon_BasePricesFrom1To10_NoDiscounts()
        {
            MockPriceDataRepository myPriceRepo = new MockPriceDataRepository();

            myPriceRepo.CalulateFinalPrices();

            CashRegister cashRegister = new CashRegister(myPriceRepo.PriceData, new DateTime(2018, 06, 21, 12, 30, 00)); //also processing

            foreach (PricingRecord pricingRecord in cashRegister.PriceResults)
            {
                Assert.AreEqual(pricingRecord.BasePrice, pricingRecord.FinalPrice);
            }
        }
        public void CalculateFinalPricesAfter10AMBefore12Noon_BasePricesFrom1To10_EachFinalPricesHas10PercentDiscount()
        {
            MockPriceDataRepository myPriceRepo = new MockPriceDataRepository();

            myPriceRepo.CalulateFinalPrices();

            CashRegister cashRegister = new CashRegister(myPriceRepo.PriceData, new DateTime(2018, 06, 21, 11, 00, 00)); //also processing

            decimal currentValue = 1;

            foreach (PricingRecord pricingRecord in cashRegister.PriceResults)
            {
                Assert.AreEqual(currentValue, pricingRecord.BasePrice);
                Assert.AreEqual((currentValue - (currentValue * decimal.Parse(".1"))), pricingRecord.FinalPrice);
                currentValue++;
            }
        }