public Order(int number) { this.number = number; this.ice = null; this.cake = null; this.state = new AcceptOrder(); }
public void CreateIceTest() { KievFactory leo = new KievFactory(); IIce max = leo.CreateIce(); Assert.IsTrue(max is KievIce); Assert.IsTrue(max.Weight > 50 && max.Weight <= 500); }