public void ConjuredItemsDecreaseTwiceInQuality() { var manaCake = new Item { Name = "Conjured Mana Cake", SellIn = 3, Quality = 6 }; _sut.Execute(manaCake); _decreaseQuality.Received(2).Execute(Arg.Is(manaCake)); }
public void OrdinaryItemsDecreaseNormallyInQuality() { var item = new Item { Name = "Elixir of the Mongoose", SellIn = 10, Quality = 20 }; _sut.Execute(item); _decreaseQuality.Received(1).Execute(Arg.Is(item)); }