public void given_action_plan_doesnt_have_any_tasks_then_status_equals_none() { //given var actionPlanIndex = new ActionPlanIndex(); //THEN Assert.That(actionPlanIndex.Status, Is.EqualTo(DerivedTaskStatusForDisplay.None)); }
public void given_action_plan_has_any_no_longer_required_tasks_then_status_equals_NoLongerRequired() { //given var actionPlanIndex = new ActionPlanIndex(); actionPlanIndex.AnyActionsOverdue = false; actionPlanIndex.AnyActionsCompleted = false; actionPlanIndex.AnyActionsOutstanding = false; actionPlanIndex.AnyActionsNoLongerRequired = true; //THEN Assert.That(actionPlanIndex.Status, Is.EqualTo(DerivedTaskStatusForDisplay.NoLongerRequired)); }