Beispiel #1
0
        public void Should_Delete_AnnouncementHistory()
        {
            const int userId   = 1;
            const int statusId = 2;

            var announcementHistory = new AnnouncementHistory(userId, statusId);

            announcementHistory.Delete();

            announcementHistory.ShouldNotBeNull();
            announcementHistory.State.ShouldBe(ObjectState.Deleted);
        }