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

                int potentiallyUpdatedQuality = InventoryManagementRules.GetMaximumAdjustedQuality(quality);

                Assert.Equal(expectedQuality, potentiallyUpdatedQuality);
            }
            public void QualityAdjustedAboveMaximum(int quality)
            {
                const int MAXIMUM_QUALITY = 50;

                int expectedQuality = MAXIMUM_QUALITY;

                int updatedQuality = InventoryManagementRules.GetMaximumAdjustedQuality(quality);

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

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

            new AgedBrieItemUpdaterRuleset().ApplyUpdates(finestGood);

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