public void Should_Construct_AnnouncementActivity() { var activityId = 1; var announcementActivity = new AnnouncementActivity(activityId); announcementActivity.ShouldNotBeNull(); announcementActivity.ActivityId.ShouldBe(activityId); }
public void Should_Delete_AnnouncementActivity() { var activityId = 1; var announcementActivity = new AnnouncementActivity(activityId); announcementActivity.Test_Delete(); announcementActivity.ShouldNotBeNull(); announcementActivity.State.ShouldBe(ObjectState.Deleted); }
public void Should_DeActive_AnnouncementActivity() { var activityId = 1; var announcementActivity = new AnnouncementActivity(activityId); announcementActivity.DeActive(); announcementActivity.ShouldNotBeNull(); announcementActivity.IsActive.ShouldBe(false); }