Beispiel #1
0
 public TestResult()
 {
     //houseBlendMMSW = new Mocha(new Whip(new HouseBlend(BeverageSize.big)));
     houseBlendMMSW = new Mocha(new Mocha(new Soy(new Whip(new HouseBlend(BeverageSize.big)))));
 }
Beispiel #2
0
 public Whip(Beverage beverage)
 {
     _beverage = beverage;
 }
Beispiel #3
0
 public Soy(Beverage beverage)
 {
     _beverage = beverage;
 }
Beispiel #4
0
 public Mocha(Beverage beverage)
 {
     _beverage = beverage;
 }