### Question:
TeamAndEventTeamCombiner implements Func1<List<Team>, EventTeamAndTeam> { @Inject public TeamAndEventTeamCombiner(String eventKey) { mEventKey = eventKey; } @Inject  TeamAndEventTeamCombiner(String eventKey); @Override EventTeamAndTeam call(List<Team> teams);  }### Answer:
@Test public void testTeamAndEventTeamCombiner() { EventTeamAndTeamListWriter.EventTeamAndTeam result = mCombiner.call(mTeams); assertNotNull(result); assertEquals(mTeams, result.teams); assertNotNull(result.eventTeams); assertEquals(mTeams.size(), result.eventTeams.size()); for (int i = 0; i < mTeams.size(); i++) { Team team = mTeams.get(i); EventTeam eventTeam = result.eventTeams.get(i); assertNotNull(eventTeam); assertEquals(eventTeam.getKey(), EventTeamHelper.generateKey("2015necmp", team.getKey())); assertEquals(eventTeam.getEventKey(), "2015necmp"); assertEquals(eventTeam.getTeamKey(), team.getKey()); assertEquals(eventTeam.getYear(), (Integer)2015); } }