public void QualityUnchangedAboveMinimum(int quality)
            {
                int expectedQuality = quality;

                int potentiallyUpdatedQuality = InventoryManagementRules.GetMinimumAdjustedQuality(quality);

                Assert.Equal(expectedQuality, potentiallyUpdatedQuality);
            }
            public void QualityAdjustedBelowMinimum(int quality)
            {
                const int MINIMUM_QUALITY = 0;

                int expectedQuality = MINIMUM_QUALITY;

                int updatedQuality = InventoryManagementRules.GetMinimumAdjustedQuality(quality);

                Assert.Equal(expectedQuality, updatedQuality);
            }
        public void AdheresToMinQuality(string itemName, int sellIn, int quality)
        {
            var finestGood = new FinestGood(itemName, sellIn, quality);

            int maturedQuality  = InventoryManagementRules.GetMaturedQuality(quality);
            int expectedQuality = InventoryManagementRules.GetMinimumAdjustedQuality(maturedQuality);

            new AgedBrieItemUpdaterRuleset().ApplyUpdates(finestGood);

            Assert.Equal(expectedQuality, finestGood.Quality);
        }