Exemplo n.º 1
0
 public CoffeeDecorator(BasicCoffee coffee)
 {
     Coffee = coffee;
 }
Exemplo n.º 2
0
 public WithWaffer(BasicCoffee coffee)
     : base(coffee)
 {
 }
 public void BasicCoffeeShouldHaveSayBasicCoffee(string expected)
 {
     var coffee = new BasicCoffee();
     Assert.AreEqual(expected, coffee.Description);
 }
 public void BasicCoffeeShouldHaveCostOf(decimal expected)
 {
     var coffee = new BasicCoffee();
     Assert.AreEqual(expected, coffee.CalculateCost());
 }
Exemplo n.º 5
0
 public WithCream(BasicCoffee coffee)
     : base(coffee)
 {
 }
Exemplo n.º 6
0
 public WithChocolate(BasicCoffee coffee)
     : base(coffee)
 {
 }