public void UnknownItemsReturnAPriceOfZero() { var subject = new ItemService(); var result = subject.PriceFor("something"); Assert.That(result, Is.EqualTo(0)); }
public void EachIndividualItemIsPricedCorrectly(string item, int price) { var subject = new ItemService(); var result = subject.PriceFor(item); Assert.That(result, Is.EqualTo(price)); }