public void UpdateWithExistingPriceReturnsTrue()
        {
            IRepository <Product> priceRepository = new PriceRepository();

            priceRepository.Save(product);
            bool updated = priceRepository.Update(updatedProduct);

            Assert.IsTrue(updated);
        }
        public void UpdateWithExistingPriceUpdatesRightData()
        {
            IRepository <Product> priceRepository = new PriceRepository();

            priceRepository.Save(product);
            bool updated   = priceRepository.Update(updatedProduct);
            var  priceList = priceRepository.GetAll();

            Assert.IsTrue(updated);
            Assert.AreEqual(priceList[0].ProductName, "Can of soup");
            Assert.AreEqual(priceList[0].Price, 2.8f);
        }