示例#1
0
        public async Task MoviePopularTest()
        {
            ResultObject <MoviePopular> moviePopular = await mdb.MoviePopular(new UrlParameters { });

            Console.WriteLine("moviePopular id: {0}", moviePopular.id);
            Console.WriteLine("moviePopular total_pages: {0}", moviePopular.total_pages);
            Console.WriteLine("moviePopular total_results: {0}", moviePopular.total_results);
            Console.WriteLine("moviePopular result id: {0}", moviePopular.results[5].id);
            Console.WriteLine("moviePopular result title: {0}", moviePopular.results[5].title);

            Assert.IsTrue(moviePopular != null);
        }