public void RepoLeagueTestsUpdateGamesPerWeek() { List <League> l = new List <League> { new League { LeagueID = 0, GameTitle = "Halo", MaxPlayers = 2, GamesPerWeek = 1 } }; _leagueSet.Object.AddRange(l); ConnectMocksToDataStore(l); bool result = _repo.UpdateLeagueGamesPerWeek(0, 2); List <League> actual = _repo.GetAllLeagues(); List <League> expected = new List <League> { new League { LeagueID = 0, GameTitle = "Halo", MaxPlayers = 2, GamesPerWeek = 2 } }; Assert.IsTrue(result); CollectionAssert.AreEqual(expected, actual); }