public void Should_display_in_recents_entry() { Post post = new Post("title", "content", "author"); blogService.Post(post); Assert.AreEqual(post, blogService.GetRecentPost()); }
public void Post(Post post) { postDao.Save(post); }