public void nameTake() { //get the original price from the resource name price sys = new price(); string resourceName = "gold"; sys.takePrice(resourceName); Assert.AreEqual(200, sys.takePrice(resourceName)); }