Esempio n. 1
0
        public void CondimentsCostShouldBeApplied()
        {
            var expected = 3.2;

            IBeverage houseBlend = new HouseBlend();

            houseBlend = new AlmondMilk(houseBlend);

            var result = houseBlend.Cost();

            result.Should().Be(expected);
        }
Esempio n. 2
0
        public void CondimentsDescriptionShouldBeApplied()
        {
            var expected = "This is a HouseBlend with Almond Milk";

            IBeverage houseBlend = new HouseBlend();

            houseBlend = new AlmondMilk(houseBlend);

            var result = houseBlend.GetDescription();

            result.Should().Be(expected);
        }