public void When_customer_orders_a_small_cheese_pizza_Grand_Total_should_be__10() { var contextPriceCalculatorTestContext = new Pizza.TestContext.PriceCalculatorTestContext(); Console.WriteLine(@"When customer orders a small cheese pizza"); contextPriceCalculatorTestContext.When_customer_orders_a_size_pizzaType_pizza(@"small", @"cheese"); Console.WriteLine(@"Grand Total should be $10"); contextPriceCalculatorTestContext.Grand_Total.ShouldBe(@"$10"); }
[Test] public void When_customer_orders_a_small_cheese_pizza_Grand_Total_should_be__10() { var contextPriceCalculatorTestContext = new Pizza.TestContext.PriceCalculatorTestContext(); Console.WriteLine(@"When customer orders a small cheese pizza"); contextPriceCalculatorTestContext.When_customer_orders_a_size_pizzaType_pizza(@"small", @"cheese"); Console.WriteLine(@"Grand Total should be $10"); contextPriceCalculatorTestContext.Grand_Total.ShouldBe(@"$10"); }