Beispiel #1
0
        public void CanDestroyBlogPost()
        {
            // Arrange.
            BlogPost post = CreateBlogPost();

            post.Save();

            // Act.
            post.Destroy();

            // Assert.
            Assert.That(post.IsDestroyed, Is.True);
        }