public void HoldDressingShouldRemoveDressing() { VelociWrap vw = new VelociWrap(); vw.HoldDressing(); Assert.DoesNotContain <string>("Dressing", vw.Ingredients); }
public void HoldDressingShouldChangeSpecial() { VelociWrap vw = new VelociWrap(); vw.HoldDressing(); Assert.Contains <string>("Hold Caesar Dressing", vw.Special); }
public void VelociwrapShouldHaveCorrectSpecialHoldDressing() { VelociWrap pb = new VelociWrap(); pb.HoldDressing(); Assert.Contains <string>("Hold Dressing", pb.Special); }
public void ShouldHaveHoldDressingSpecial() { VelociWrap wrap = new VelociWrap(); wrap.HoldDressing(); string[] special = { "Hold Dressing" }; Assert.Equal(wrap.Special, special); }
public void HoldingShouldNotifySpecialChange() { VelociWrap vw = new VelociWrap(); Assert.PropertyChanged(vw, "Special", () => vw.HoldLettuce()); Assert.PropertyChanged(vw, "Special", () => vw.HoldDressing()); Assert.PropertyChanged(vw, "Special", () => vw.HoldCheese()); }
public void OnHoldDressing(object sender, RoutedEventArgs args) { wrap.HoldDressing(); if (combo != null) { combo.Entree = wrap; } }
public void CheckAllNotifyPropertyChanges(string propertyName) { VelociWrap vw = new VelociWrap(); Assert.PropertyChanged(vw, propertyName, () => vw.HoldCheese()); Assert.PropertyChanged(vw, propertyName, () => vw.HoldLettuce()); Assert.PropertyChanged(vw, propertyName, () => vw.HoldDressing()); }
public void HoldingItemsShouldNotifyOfPropertyChange(string s) { VelociWrap dn = new VelociWrap(); Assert.PropertyChanged(dn, s, () => { dn.HoldCheese(); }); Assert.PropertyChanged(dn, s, () => { dn.HoldDressing(); }); Assert.PropertyChanged(dn, s, () => { dn.HoldLettuce(); }); }
public void VelociWrapPropertyChanges() { VelociWrap vw = new VelociWrap(); Assert.PropertyChanged(vw, "Special", () => vw.HoldCheese()); Assert.PropertyChanged(vw, "Special", () => vw.HoldDressing()); Assert.PropertyChanged(vw, "Special", () => vw.HoldLettuce()); }
public void ShouldHaveCorrectSpecialHoldDressing() { VelociWrap vw = new VelociWrap(); vw.HoldDressing(); Assert.Contains("Hold Dressing", vw.Special); Assert.Single(vw.Special); }
public void SpecialShouldHoldDressing() { VelociWrap vw = new VelociWrap(); vw.HoldDressing(); Assert.Collection <string>(vw.Special, item => { Assert.Equal("Hold Dressing", item); }); }
public void AddDressingShouldAddDressing() { VelociWrap vw = new VelociWrap(); vw.HoldDressing(); vw.AddDressing(); Assert.Contains("Ceasar Dressing", vw.Ingredients); }
public void SpecialShouldHoldDressing() { VelociWrap vw = new VelociWrap(); vw.HoldDressing(); string[] special = vw.Special; Assert.Contains("Hold Dressing", special); Assert.Equal <int>(1, special.Length); }
public void HoldDressingShouldNotifyOfSpecialPropertyChange() { VelociWrap v = new VelociWrap(); Assert.PropertyChanged(v, "Special", () => { v.HoldDressing(); }); }
public void HoldingDressingShouldNotifySpecialChange() { VelociWrap vc = new VelociWrap(); Assert.PropertyChanged(vc, "Special", () => { vc.HoldDressing(); }); }
public void HoldLettuceAndDressingShouldProvideCorrectSpecial() { VelociWrap vw = new VelociWrap(); vw.HoldLettuce(); vw.HoldDressing(); Assert.Contains("Hold Lettuce", vw.Special); Assert.Contains("Hold Dressing", vw.Special); }
public void HoldDressingShouldNotifyOfPropertyChanged(string propertyName) { VelociWrap wrap = new VelociWrap(); Assert.PropertyChanged(wrap, propertyName, () => { wrap.HoldDressing(); }); }
public void VelociwrapHoldDressingShouldNotifyPropertyChanged() { VelociWrap wrap = new VelociWrap(); Assert.PropertyChanged(wrap, "Special", () => { wrap.HoldDressing(); }); }
public void HoldDressingShouldNotifyIngredintsChange() { VelociWrap wrap = new VelociWrap(); Assert.PropertyChanged(wrap, "Ingredients", () => { wrap.HoldDressing(); }); }
public void HoldDressingShouldNotifySpecialChanged() { VelociWrap vw = new VelociWrap(); Assert.PropertyChanged(vw, "Special", () => { vw.HoldDressing(); }); }
public void HoldingDressingShouldNotifyIngredientsChange() { VelociWrap vw = new VelociWrap(); Assert.PropertyChanged(vw, "Ingredients", () => { vw.HoldDressing(); }); }
public void HoldingPeppersShouldSpecialChange() { VelociWrap vw = new VelociWrap(); Assert.PropertyChanged(vw, "Special", () => { vw.HoldDressing(); }); }
public void HoldingDressingShouldNotifyOfPropertyChange(string propertyName) { VelociWrap vw = new VelociWrap(); Assert.PropertyChanged(vw, propertyName, () => { vw.HoldDressing(); }); }
public void HoldDressingShouldNotifyChange(string expected) { VelociWrap vw = new VelociWrap(); Assert.PropertyChanged(vw, expected, () => { vw.HoldDressing(); }); }
public void VelociWrapShouldNotify() { VelociWrap v = new VelociWrap(); Assert.PropertyChanged(v, "Special", () => v.HoldCheese()); Assert.PropertyChanged(v, "Special", () => v.HoldDressing()); Assert.PropertyChanged(v, "Special", () => v.HoldLettuce()); }
public void HoldDressingShouldBeInSpecial() { VelociWrap v = new VelociWrap(); v.HoldDressing(); Assert.Collection <string>(v.Special, item => { Assert.Equal("Hold Dressing", item); }); }
private void Click_HoldDressing(object sender, RoutedEventArgs e) { if (sender.Equals(Button_HoldDressing)) { if (DataContext is Order order) { _wrap.HoldDressing(); } } }
public void ShouldhaveholdDressingInSpecail() { VelociWrap bw = new VelociWrap(); bw.HoldDressing(); Assert.Collection <string>(bw.Special, item => { Assert.Equal("Hold Dressing", item); }); }
public void HoldDressingShoukdAddToSpecial() { VelociWrap vw = new VelociWrap(); vw.HoldDressing(); Assert.Collection <string>(vw.Special, item => { Assert.Equal("Hold Ceasar Dressing", item); }); }
public void SpecialShouldHoldDressingAndCheese() { VelociWrap vw = new VelociWrap(); vw.HoldDressing(); vw.HoldCheese(); string[] special = vw.Special; Assert.Contains("Hold Dressing", special); Assert.Contains("Hold Cheese", special); }