public void RepositoryTestsEnsureICanGetAllMatches() { List <NashGaming.Models.Match> expected = new List <NashGaming.Models.Match>() { new NashGaming.Models.Match { MatchID = 1, Result = "WIN", Team1Score = 3, Team2Score = 2 }, new NashGaming.Models.Match { MatchID = 2, Result = "LOSS", Team1Score = 2, Team2Score = 3 } }; _matchSet.Object.AddRange(expected); ConnectMocksToDataStore(expected); var actual = _repo.GetAllMatches(); Assert.AreEqual(1, actual[0].MatchID); CollectionAssert.AreEqual(expected, actual); }