public void RepositoryTestsEnsureICanGetAllGamers() { List <Gamer> gamers = new List <Gamer>() { new Gamer { GamerID = 1 }, new Gamer { GamerID = 2 } }; _gamerSet.Object.AddRange(gamers); ConnectMocksToDataStore(gamers); var actual = _repo.GetAllGamers(); Assert.AreEqual(1, actual[0].GamerID); CollectionAssert.AreEqual(gamers, actual); }