public void RemoveLemonShouldRemoveLemon() { Tyrannotea tea = new Tyrannotea(); tea.AddLemon(); tea.RemoveLemon(); Assert.False(tea.Lemon); }
public void RemoveLemonShouldNotifyOfPropertyChanged(string propertyName) { Tyrannotea tea = new Tyrannotea(); Assert.PropertyChanged(tea, propertyName, () => { tea.RemoveLemon(); }); }