public void Should_SetActive() { PrePlanningArea prePlanningArea = new PrePlanningArea(areaId); prePlanningArea.SetActive(); Assert.True(prePlanningArea.IsActive); }
public void Should_SetAddedState() { PrePlanningArea prePlanningArea = new PrePlanningArea(areaId); prePlanningArea.SetAddedState(); Assert.Equal(0, prePlanningArea.Id); }
public void Should_DeActive() { PrePlanningArea prePlanningArea = new PrePlanningArea(areaId); prePlanningArea.DeActive(); Assert.False(prePlanningArea.IsActive); }
public void Should_Update() { PrePlanningArea prePlanningArea = new PrePlanningArea(areaId); prePlanningArea.Update(); prePlanningArea.ShouldNotBeNull(); }
public void Should_Delete() { PrePlanningArea prePlanningArea = new PrePlanningArea(areaId); prePlanningArea.Delete(); prePlanningArea.State.ShouldBe(ObjectState.Deleted); }
public void Should_Construct_PrePlanningArea() { PrePlanningArea prePlanningArea = new PrePlanningArea(areaId); _ = new PrePlanningArea(); _ = prePlanningArea.Id; _ = prePlanningArea.Area; _ = prePlanningArea.PrePlanningId; _ = prePlanningArea.PrePlanning; prePlanningArea.ShouldNotBeNull(); }