public void ToString_ShouldBeNotRunning() { var status = new ChefStatus() { IsRunning = false }; status.ToString().Should().Be("Chef is paused"); }
public void ToString_ShouldBeRunningWithoutInterval() { var status = new ChefStatus() { IsRunning = true }; status.ToString().Should().Be("Chef is running on demand"); }
public Chef(string d, ulong od, string sid, int cid, int sname, string oa, ChefStatus s) { this.ChefName = d; this.ChefId = od; this.ChefDistin = sid; this.ordersAccepted = cid; this.ordersDelivered = sname; this.HiredDate = oa; this.status = s; }