public void GetPostWithCommentCountComments() { var service = new Subproject_2.DataservicePost(); var post = service.getCommments(19, 0, 15); Assert.Equal(16, post.comments.Count); }
public void GetPostListReturnsPostById() { var service = new Subproject_2.DataservicePost(); var post = service.getPost(0, 14000); Assert.Equal(13629, post.Count); Assert.Equal(19, post.First().id); }