public void GetDescriptionShouldReturnDescriptionWithTextSettedInConstructor() { var expectedValue = "House Blend Coffee"; var houseBlend = new HouseBlend(); houseBlend.GetDescription().Should() .Be(expectedValue); }
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); }