public void GetSpecialsByProductNameWithNonExistentProductNameReturnsNull()
        {
            IRepository <ISpecial> specialsRepository = new SpecialsRepository();

            specialsRepository.Save(priceSpecial);

            var priceSpecialResult = (PriceSpecial)specialsRepository.GetByProductName("Can of beans");

            Assert.IsNull(priceSpecialResult);
        }
        public void GetSpecialsByProductNameWithExistingProductNameReturnsRightSpecial()
        {
            IRepository <ISpecial> specialsRepository = new SpecialsRepository();

            specialsRepository.Save(priceSpecial);

            var priceSpecialResult = (PriceSpecial)specialsRepository.GetByProductName("Can of soup");

            Assert.AreEqual(priceSpecialResult.ProductName, "Can of soup");
            Assert.AreEqual(priceSpecialResult.Price, 5);
        }