public CoffeeDecorator(BasicCoffee coffee)
 {
     Coffee = coffee;
 }
 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());
 }
Exemple #5
0
 public WithCream(BasicCoffee coffee)
     : base(coffee)
 {
 }
 public WithChocolate(BasicCoffee coffee)
     : base(coffee)
 {
 }