public void CanAddStaticPostAndGetAllPosts() { var post = new StaticPost() { Title = "Second Static Post", Content = "<h3>Static Post Content.</h3><p>Not much to see here, this is just a test post that will be deleted anyway.</p>" }; TestContext.AddStaticPost(post); var postRoll = TestContext.GetAllStaticPosts(); Assert.AreEqual(2, postRoll.Count()); var savedPost = TestContext.GetStaticPost(2); Assert.AreEqual("Second Static Post", savedPost.Title); Assert.AreEqual("<h3>Static Post Content.</h3><p>Not much to see here, this is just a test post that will be deleted anyway.</p>", savedPost.Content); }