Пример #1
0
        public void InMemoryStorageClassTest()
        {
            InMemoryStorage storage = new InMemoryStorage();
            Tomato          tomato  = new Tomato();

            storage.SetVegetableMinimumQuantity(tomato, 5);
            Assert.Equal(5, storage.GetVegetableMinimumQuantity(tomato));
        }