示例#1
0
        public void Should_return_some_results_when_searching_for_The_Matrix()
        {
            var finder = new Thoth();
            IEnumerable<FinderOption> results = finder.FindByName("The Matrix");

            Assert.That(results.Count(),
                Is.GreaterThan(0));
        }
示例#2
0
        public void Should_return_movie_info_when_searching_by_imdbid()
        {
            var finder = new Thoth();
            Movie movie = finder.FindByImdbId(new FinderOption(){ Imdbid = "tt0133093"});

            Assert.That(movie.Title,
                Is.EqualTo("The Matrix"));
        }