Exemple #1
0
        public void Should_SetAddedState()
        {
            TenderConstructionWork tenderConstructionWork = new TenderConstructionWork(constructionWorkId);

            tenderConstructionWork.SetAddedState();
            Assert.Equal(0, tenderConstructionWork.Id);
        }
Exemple #2
0
        public void Should_SetActive()
        {
            TenderConstructionWork tenderConstructionWork = new TenderConstructionWork(constructionWorkId);

            tenderConstructionWork.SetActive();
            Assert.True(tenderConstructionWork.IsActive);
        }
Exemple #3
0
        public void Should_Update()
        {
            TenderConstructionWork tenderConstructionWork = new TenderConstructionWork(constructionWorkId);

            tenderConstructionWork.Update();
            tenderConstructionWork.ShouldNotBeNull();
        }
Exemple #4
0
        public void Should_Deactive()
        {
            TenderConstructionWork tenderConstructionWork = new TenderConstructionWork(constructionWorkId);

            tenderConstructionWork.DeActive();
            Assert.False(tenderConstructionWork.IsActive);
        }
Exemple #5
0
        public void Should_Construct_TenderConstructionWork()
        {
            TenderConstructionWork tenderConstructionWork = new TenderConstructionWork(constructionWorkId);

            _ = new TenderConstructionWork();
            _ = tenderConstructionWork.ConstructionWork;
            _ = tenderConstructionWork.TenderId;
            _ = tenderConstructionWork.Tender;

            tenderConstructionWork.ShouldNotBeNull();
        }