public void Should_Construct_AnnouncementMaintenanceRunnigWork()
        {
            var announcementMaintenanceRunnigWorkId = 1;

            var announcementMaintenanceRunnigWork = new AnnouncementMaintenanceRunnigWork(announcementMaintenanceRunnigWorkId);

            announcementMaintenanceRunnigWork.ShouldNotBeNull();
            announcementMaintenanceRunnigWork.MaintenanceRunningWorkId.ShouldBe(announcementMaintenanceRunnigWorkId);
        }
        public void Should_Delete_AnnouncementMaintenanceRunnigWork()
        {
            var announcementMaintenanceRunnigWorkId = 1;
            var announcementMaintenanceRunnigWork   = new AnnouncementMaintenanceRunnigWork(announcementMaintenanceRunnigWorkId);

            announcementMaintenanceRunnigWork.Test_Delete();

            announcementMaintenanceRunnigWork.ShouldNotBeNull();
            announcementMaintenanceRunnigWork.State.ShouldBe(ObjectState.Deleted);
        }
        public void Should_DeActive_AnnouncementMaintenanceRunnigWork()
        {
            var announcementMaintenanceRunnigWorkId = 1;
            var announcementMaintenanceRunnigWork   = new AnnouncementMaintenanceRunnigWork(announcementMaintenanceRunnigWorkId);

            announcementMaintenanceRunnigWork.DeActive();

            announcementMaintenanceRunnigWork.ShouldNotBeNull();
            announcementMaintenanceRunnigWork.IsActive.ShouldBe(false);
        }