Пример #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)))));
 }
Пример #2
0
 public Whip(Beverage beverage)
 {
     _beverage = beverage;
 }
Пример #3
0
 public Soy(Beverage beverage)
 {
     _beverage = beverage;
 }
Пример #4
0
 public Mocha(Beverage beverage)
 {
     _beverage = beverage;
 }