public void TestMoviesGetMovieWatchProviders()
        {
            SingleResultContainer <Dictionary <string, WatchProviders> > resp = Config.Client.GetMovieWatchProvidersAsync(IdHelper.AGoodDayToDieHard).Result;

            Assert.NotNull(resp);

            Dictionary <string, WatchProviders> watchProvidersByRegion = resp.Results;

            Assert.NotEmpty(watchProvidersByRegion);

            // Not making further assertions since this data is highly dynamic.
        }
Beispiel #2
0
        public void TestTvShowGetMovieWatchProviders()
        {
            SingleResultContainer <Dictionary <string, WatchProviders> > resp = Config.Client.GetTvShowWatchProvidersAsync(IdHelper.GameOfThrones).Result;

            Assert.NotNull(resp);

            Dictionary <string, WatchProviders> watchProvidersByRegion = resp.Results;

            Assert.NotNull(watchProvidersByRegion);

            // Not making further assertions since this data is highly dynamic.
        }