public void HoldingKetchupAndMustardShouldAddTwoInstructions() { var burger = new Data.DakotaDoubleBurger(); burger.Ketchup = false; burger.Mustard = false; Assert.Contains("hold ketchup", burger.SpecialInstructions); Assert.Contains("hold mustard", burger.SpecialInstructions); }
public void HoldingMayoShouldAddInstruction() { var burger = new Data.DakotaDoubleBurger(); burger.Mayo = false; Assert.Collection(burger.SpecialInstructions, instruction => { Assert.Equal("hold mayo", instruction); }); }
public void HoldingKetchupShouldAddInstruction() { var burger = new Data.DakotaDoubleBurger(); burger.Ketchup = false; Assert.Collection(burger.SpecialInstructions, instruction => { Assert.Equal("hold ketchup", instruction); }); }
public void HoldingLettuceShouldAddInstruction() { var burger = new Data.DakotaDoubleBurger(); burger.Lettuce = false; Assert.Collection(burger.SpecialInstructions, instruction => { Assert.Equal("hold lettuce", instruction); }); }
public void HoldingBunCheeseAndPickleShouldAddThreeInstructions() { var burger = new Data.DakotaDoubleBurger(); burger.Bun = false; burger.Cheese = false; burger.Pickle = false; Assert.Contains("hold bun", burger.SpecialInstructions); Assert.Contains("hold cheese", burger.SpecialInstructions); Assert.Contains("hold pickle", burger.SpecialInstructions); }
public void DefaultSpecialInstructionsShouldBeEmpty() { var burger = new Data.DakotaDoubleBurger(); Assert.Empty(burger.SpecialInstructions); }
public void DefaultCaloriesShouldBeCorrect() { var burger = new Data.DakotaDoubleBurger(); Assert.Equal <uint>(464, burger.Calories); }
public void DefaultPriceShouldBeCorrect() { var burger = new Data.DakotaDoubleBurger(); Assert.Equal(5.20, burger.Price); }