Example #1
0
        public void GetDescriptionShouldReturnDescriptionWithTextSettedInConstructor()
        {
            var expectedValue = "House Blend Coffee";
            var houseBlend    = new HouseBlend();

            houseBlend.GetDescription().Should()
            .Be(expectedValue);
        }
Example #2
0
        public void HouseBlend_ShouldBeExpressoAndCostEightyNineCents_WhenIsInstantiate()
        {
            //Arrange
            Beverage beverage = new HouseBlend();

            //Act
            var description = beverage.GetDescription();
            var cost        = beverage.Cost();

            //Assert
            description.Should().Be("House Blend Coffee");
            cost.Should().Be(.89);
        }