public void GetGenres_WithResults_ReturnsResults() { // ARRANGE // ACT var result = _dal.GetGenres(); var expectedCount = 2; var actualCount = result.Count(); var expectedList = _movies.ToList().Select(m => m.Genre).ToList(); var actualList = result.ToList(); // ASSERT Assert.AreEqual(expectedCount, actualCount); CollectionAssert.AreEqual(expectedList, actualList); }