public void TestTraderPaysGoldOnItemBought(int itemCost, int expectedShopperGold) { Item item = new MiscItem("testItem", itemCost); shopper.OnItemBought(item, shop); Assert.AreEqual(shopper.Gold, expectedShopperGold); }