public void ShouldReturnCorrectSpecialInstructions(bool includeBun, bool includeKetchup, bool includeMustard, bool includePickle, bool includeCheese, bool includeTomato, bool includeLettuce, bool includeMayo) { Data.Entrees.DoubleDraugr entree = new Data.Entrees.DoubleDraugr(); entree.Bun = includeBun; entree.Ketchup = includeKetchup; entree.Mustard = includeMustard; entree.Pickle = includePickle; entree.Cheese = includeCheese; entree.Tomato = includeTomato; entree.Lettuce = includeLettuce; entree.Mayo = includeMayo; if (!entree.Bun) { Assert.Contains <string>("Hold bun", entree.SpecialInstructions); } if (!entree.Ketchup) { Assert.Contains <string>("Hold ketchup", entree.SpecialInstructions); } if (!entree.Mustard) { Assert.Contains <string>("Hold mustard", entree.SpecialInstructions); } if (!entree.Pickle) { Assert.Contains <string>("Hold pickle", entree.SpecialInstructions); } if (!entree.Cheese) { Assert.Contains <string>("Hold cheese", entree.SpecialInstructions); } if (!entree.Tomato) { Assert.Contains <string>("Hold tomato", entree.SpecialInstructions); } if (!entree.Lettuce) { Assert.Contains <string>("Hold lettuce", entree.SpecialInstructions); } if (!entree.Mayo) { Assert.Contains <string>("Hold mayo", entree.SpecialInstructions); } }
public void ShouldBeAbleToSetPickle() { Data.Entrees.DoubleDraugr entree = new Data.Entrees.DoubleDraugr(); entree.Pickle = false; Assert.False(entree.Pickle); }
public void ShouldBeAbleToSetMustard() { Data.Entrees.DoubleDraugr entree = new Data.Entrees.DoubleDraugr(); entree.Mustard = false; Assert.False(entree.Mustard); }
public void ShouldBeAbleToSetKetchup() { Data.Entrees.DoubleDraugr entree = new Data.Entrees.DoubleDraugr(); entree.Ketchup = false; Assert.False(entree.Ketchup); }
public void ShouldBeAbleToSetBun() { Data.Entrees.DoubleDraugr entree = new Data.Entrees.DoubleDraugr(); entree.Bun = false; Assert.False(entree.Bun); }
public void ShouldIncludeMayoByDefault() { Data.Entrees.DoubleDraugr entree = new Data.Entrees.DoubleDraugr(); Assert.True(entree.Cheese); }
public void ShouldIncludePickleByDefault() { Data.Entrees.DoubleDraugr entree = new Data.Entrees.DoubleDraugr(); Assert.True(entree.Pickle); }
public void ShouldIncludeMustardByDefault() { Data.Entrees.DoubleDraugr entree = new Data.Entrees.DoubleDraugr(); Assert.True(entree.Mustard); }
public void ShouldIncludeKetchupByDefault() { Data.Entrees.DoubleDraugr entree = new Data.Entrees.DoubleDraugr(); Assert.True(entree.Ketchup); }
public void ShouldReturnCorrectToString() { Data.Entrees.DoubleDraugr entree = new Data.Entrees.DoubleDraugr(); Assert.Equal("Double Draugr", entree.ToString()); }
public void ShouldReturnCorrectCalories() { Data.Entrees.DoubleDraugr entree = new Data.Entrees.DoubleDraugr(); Assert.True(entree.Calories == 843); }
public void ShouldIncludeBunByDefault() { Data.Entrees.DoubleDraugr entree = new Data.Entrees.DoubleDraugr(); Assert.True(entree.Bun); }
public void ShouldReturnCorrectPrice() { Data.Entrees.DoubleDraugr entree = new Data.Entrees.DoubleDraugr(); Assert.True(entree.Price == 7.32); }
public void ShouldBeAbleToSetMayo() { Data.Entrees.DoubleDraugr entree = new Data.Entrees.DoubleDraugr(); entree.Mayo = false; Assert.False(entree.Mayo); }
public void ShouldBeAbleToSetLettuce() { Data.Entrees.DoubleDraugr entree = new Data.Entrees.DoubleDraugr(); entree.Lettuce = false; Assert.False(entree.Lettuce); }