Beispiel #1
0
        public void Should_SetAddedState()
        {
            TenderMaintenanceRunnigWork tenderMaintenanceRunnigWork = new TenderMaintenanceRunnigWork(maintenanceRunningWorkId);

            tenderMaintenanceRunnigWork.SetAddedState();
            Assert.Equal(0, tenderMaintenanceRunnigWork.Id);
        }
Beispiel #2
0
        public void Should_SetActive()
        {
            TenderMaintenanceRunnigWork tenderMaintenanceRunnigWork = new TenderMaintenanceRunnigWork(maintenanceRunningWorkId);

            tenderMaintenanceRunnigWork.SetActive();
            Assert.True(tenderMaintenanceRunnigWork.IsActive);
        }
Beispiel #3
0
        public void Should_Update()
        {
            TenderMaintenanceRunnigWork tenderMaintenanceRunnigWork = new TenderMaintenanceRunnigWork(maintenanceRunningWorkId);

            tenderMaintenanceRunnigWork.Update();
            tenderMaintenanceRunnigWork.ShouldNotBeNull();
        }
Beispiel #4
0
        public void Should_Deactive()
        {
            TenderMaintenanceRunnigWork tenderMaintenanceRunnigWork = new TenderMaintenanceRunnigWork(maintenanceRunningWorkId);

            tenderMaintenanceRunnigWork.DeActive();
            Assert.False(tenderMaintenanceRunnigWork.IsActive);
        }
Beispiel #5
0
        public void Should_Construct_TenderMentainanceRunnigWork()
        {
            TenderMaintenanceRunnigWork tenderMaintenanceRunnigWork = new TenderMaintenanceRunnigWork(maintenanceRunningWorkId);

            _ = new TenderMaintenanceRunnigWork();

            tenderMaintenanceRunnigWork.ShouldNotBeNull();
        }