public async Task GetAggregatedMovieDetailFromAllWorlds_handles_exception()
        {
            //Given
            string url = "url"; string universalId = "123";

            mockHttpService.Setup(m => m.GetHttpResponse <Dictionary <string, MovieDetail> >(It.IsAny <string>())).Throws <Exception>();
            var sut = new AggregatedMovieService(mockHttpService.Object);

            //When
            var actual = await sut.GetAggregatedMovieDetailFromAllWorlds(url, universalId);

            //Then
            Assert.Null(actual);
        }
        public async Task GetAggregatedMovieDetailFromAllWorlds_returns_correct_count(Dictionary <string, MovieDetail> movieDetailFromAll, int worldCount)
        {
            //Given
            string url = "url"; string universalId = "123";

            mockHttpService.Setup(m => m.GetHttpResponse <Dictionary <string, MovieDetail> >(It.IsAny <string>())).ReturnsAsync(movieDetailFromAll);
            var sut = new AggregatedMovieService(mockHttpService.Object);

            //When
            var actual = await sut.GetAggregatedMovieDetailFromAllWorlds(url, universalId);

            //Then
            Assert.IsType <Dictionary <string, MovieDetail> >(actual);
            Assert.Equal(worldCount, actual.Count);
        }