public void Can_get_posts_by_tag() { postService.GetPostsByTagPaged(currentBlog, "friendlyTagName", 0, 10); postRepository.AssertWasCalled(x => x.GetByTag(currentBlog, "friendlyTagName", 0, 10)); }