private void AdicionarGeneroNosFilmes(string language, MovieUpComingDTO upcomingMovies) { if (!upcomingMovies.Results.Any()) { return; } MovieGenreDTO genres = _MovieGenre.GetGenreListByLanguage(language); upcomingMovies.AdicionarGeneroDeAcordoComId(upcomingMovies, genres); }
public void Quando_Requisitar_API_Sem_Parametros_Retorna_Lista_Generos() { MovieGenreDTO upComingMovies = _genre.GetGenreListByLanguage("pt-BR"); Assert.IsTrue(upComingMovies.Genres.Any()); }