public void Should_SetAddedState() { TenderConstructionWork tenderConstructionWork = new TenderConstructionWork(constructionWorkId); tenderConstructionWork.SetAddedState(); Assert.Equal(0, tenderConstructionWork.Id); }
public void Should_SetActive() { TenderConstructionWork tenderConstructionWork = new TenderConstructionWork(constructionWorkId); tenderConstructionWork.SetActive(); Assert.True(tenderConstructionWork.IsActive); }
public void Should_Update() { TenderConstructionWork tenderConstructionWork = new TenderConstructionWork(constructionWorkId); tenderConstructionWork.Update(); tenderConstructionWork.ShouldNotBeNull(); }
public void Should_Deactive() { TenderConstructionWork tenderConstructionWork = new TenderConstructionWork(constructionWorkId); tenderConstructionWork.DeActive(); Assert.False(tenderConstructionWork.IsActive); }
public void Should_Construct_TenderConstructionWork() { TenderConstructionWork tenderConstructionWork = new TenderConstructionWork(constructionWorkId); _ = new TenderConstructionWork(); _ = tenderConstructionWork.ConstructionWork; _ = tenderConstructionWork.TenderId; _ = tenderConstructionWork.Tender; tenderConstructionWork.ShouldNotBeNull(); }