public void ShouldAddice() { JurrassicJava jv = new JurrassicJava(); jv.AddIce(); Assert.True(jv.Ice); }
public void JurrasicJavaAddIceShouldNotifyPropertySpecial() { JurrassicJava java = new JurrassicJava(); Assert.PropertyChanged(java, "Special", () => { java.AddIce(); }); }
public void ShouldhaveholdIcedInSpecail() { JurrassicJava jv = new JurrassicJava(); jv.AddIce(); Assert.Collection <string>(jv.Special, item => { Assert.Equal("Add Ice", item); }); }
public void ShouldhaveholdIceAndRoomInSpecail() { JurrassicJava jv = new JurrassicJava(); jv.AddIce(); jv.RoomForCream(); Assert.Collection <string>(jv.Special, item => { Assert.Equal("Add Ice", item); }, item => { Assert.Equal("Leave Room for Cream", item); }); }