public async Task Read_Top_Ten_Movies() { //Arange key = "Movie"; A.CallTo(() => showRepo.GetTrendingShowsAsync(key)).Returns(await Task.FromResult(fakeShows));//Configures the call to return the faked data, making it independent from the API and testing pure code. showController = new ShowController(showRepo); //Act var result = await showController.GetTrendingMoviesAsync(); //Makes the call //Assert Assert.Equal(count, result.Count()); //Checks if the list is filled }