示例#1
0
        public void Comments()
        {
            Shot shot = Shot.Find(59714);
            PaginatedList <Comment> comments = shot.Comments();

            Assert.IsNotEmpty(comments.Items);
            foreach (var comment in comments.Items)
            {
                Assert.NotNull(comment.Id);
                Assert.NotNull(comment.CreatedAt);
                Assert.IsNotEmpty(comment.Body);
                Assert.NotNull(comment.Player);
            }
        }