public void Should_be_added_to_the_cost_of_a_beverage() { var condiment = new DarkRoastWithWhip(new TestCoffee() { TestableCost = 3.50 }); Assert.That(condiment.Cost(), Is.EqualTo(3.75)); }
public void Should_be_appended_to_the_coffee_description() { var testCoffee = new TestCoffee() { TestableCost = 3.50, Description = "Test coffee description" }; var condiment = new DarkRoastWithWhip(testCoffee); Assert.That(condiment.GetDescription, Is.EqualTo("Test coffee description with Whipped Cream")); }