@Test public void eitherTeamToday() { ArrayList<Team> teams = new ArrayList<Team>(); for (int i = 0; i < 10; i++) { Team team = new Team(); team.setTeamName("T" + i); team.setTeamId(i); teams.add(team); } CourtScheduleInfo info = new CourtScheduleInfo("config.ini"); CourtSchedule test = new CourtSchedule(teams, info); List<Match> matches = test.getMatches(); bulkTest(0, 0, matches, test); bulkTest(0, 1, matches, test); }