public void Can_read_the_post_with_friendly_title()
{
string friendlyTitle = "my-friendly-title";
postService
.Expect(x => x.GetPostByFriendlyTitle(blog, friendlyTitle))
.Return(new Post {Title = "osman"});
ViewResult view = controller.Read(friendlyTitle) as ViewResult;
postService
.AssertWasCalled(x => x.GetPostByFriendlyTitle(blog, "my-friendly-title"));
Assert.NotNull(view.ViewData.Model);
}