Ejemplo n.º 1
0
        public void SearchWithNoResult()
        {
            var searchTerm      = "ZZZZZXXXXXXXYYYYY";
            var omdb            = new OmdbQuery();
            var result          = omdb.Search(searchTerm);
            var noSearchResults = result.Search.Count == 0;

            Assert.IsTrue(noSearchResults);
        }
Ejemplo n.º 2
0
        public void SearchWithResult()
        {
            var searchTerm            = "Warehouse";
            var omdb                  = new OmdbQuery();
            var result                = omdb.Search(searchTerm);
            var containsSearchResults = result.Search.Count > 0;

            Assert.IsTrue(containsSearchResults);
        }