public void GetMovieById_WithManyMoviesInContext_ReturnsSingleMovie() { // ARRANGE _mockMovieDbSet.Setup(m => m.Find(_movies.FirstOrDefault().Id)).Returns(_movies.FirstOrDefault()); var movieToFind = _movies.FirstOrDefault(); // ACT var result = _dal.GetMovieById(movieToFind.Id); // ASSERT Assert.AreEqual(movieToFind, result); }