public void RepositoryTestsEnsureICanSearchTeamByName() { List <MainTeam> team_data = new List <MainTeam> { new MainTeam { TeamName = "Siege the Day" }, new MainTeam { TeamName = "Day of Siege" }, new MainTeam { TeamName = "Group Text" } }; _teamSet.Object.AddRange(team_data); ConnectMocksToDataStore(team_data); List <MainTeam> expected = new List <MainTeam> { new MainTeam { TeamName = "Day of Siege" }, new MainTeam { TeamName = "Siege the Day" } }; var actual = _repo.SearchTeamsByName("siege"); Assert.AreEqual(expected[0].TeamName, actual[0].TeamName); }