@Test public void testTeamPageCombiner() { ImmutableList<Team> initialTeams = ImmutableList.copyOf(teams1); List<Team> combinedTeams = mCombiner.call(teams1, teams2); assertNotNull(combinedTeams); assertEquals(combinedTeams.size(), initialTeams.size() + teams2.size()); for (int i = 0; i < initialTeams.size(); i++) { assertEquals(combinedTeams.get(i), initialTeams.get(i)); } for (int i = 0; i < teams2.size(); i++) { assertEquals(combinedTeams.get(initialTeams.size() + i), teams2.get(i)); } }
@Inject public TeamPageCombiner() { }
TeamPageCombiner implements Func2<List<Team>, List<Team>, List<Team>> { @Inject public TeamPageCombiner() { } }
TeamPageCombiner implements Func2<List<Team>, List<Team>, List<Team>> { @Inject public TeamPageCombiner() { } @Inject  TeamPageCombiner(); }
TeamPageCombiner implements Func2<List<Team>, List<Team>, List<Team>> { @Inject public TeamPageCombiner() { } @Inject  TeamPageCombiner(); @Override List<Team> call(List<Team> teams, List<Team> teams2); }
TeamPageCombiner implements Func2<List<Team>, List<Team>, List<Team>> { @Inject public TeamPageCombiner() { } @Inject  TeamPageCombiner(); @Override List<Team> call(List<Team> teams, List<Team> teams2);  }