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