### Question:
EventRenderer implements ModelRenderer<Event, Boolean> { @WorkerThread public void renderAlliances(List<EventAlliance> alliances, List<ListItem> destList) { int counter = 1; for (EventAlliance alliance : alliances) { List<String> teams = alliance.getPicks(); PlayoffAdvancement adv = PlayoffAdvancement.fromAlliance(alliance); destList.add(new AllianceListElement(alliance.getEventKey(), alliance.getName(), counter, teams, adv)); counter++; } } @Inject  EventRenderer(APICache datafeed); @WorkerThread @Override @Nullable EventListElement renderFromKey(String key, ModelType type, Boolean args); @WorkerThread @Override @Nullable EventListElement renderFromModel(Event event, Boolean showMyTbaSettings); @WorkerThread List<WebcastListElement> renderWebcasts(Event event); @WorkerThread void renderAlliances(List<EventAlliance> alliances, List<ListItem> destList);  }### Answer:
@Test public void testRenderAlliancesWithList() { List<ListItem> elements = new ArrayList<>(); mRenderer.renderAlliances(mAlliances, elements); assertAllianceList(elements); }