public void TotalNumberOfTeamsIsCorrect() { // Arrange & Act var dataGetter = new DataGetter(); var teams = dataGetter.GetAllTeamData().ToList(); int expectedCount = 20; int actualCount = teams.Count(); // Assert Assert.True(expectedCount == actualCount, "Expected to find " + expectedCount + " teams in the league, but actually found " + actualCount); }