### Question:
TeamListSubscriber extends BaseAPISubscriber<List<Team>, List<ListItem>> { public void setRenderMode(@RenderType int mode) { mRenderMode = mode; } TeamListSubscriber(TeamRenderer renderer); void setRenderMode(@RenderType int mode); @Override void parseData();  }### Answer:
@Test public void testParsedDataNoButton() { mSubscriber.setRenderMode(TeamRenderer.RENDER_BASIC); DatafeedTestDriver.getParsedData(mSubscriber, mTeams); for (int i = 0; i < mTeams.size(); i++) { verify(mRenderer).renderFromModel(mTeams.get(i), TeamRenderer.RENDER_BASIC); } }
@Test public void testParsedDataButton() { mSubscriber.setRenderMode(TeamRenderer.RENDER_DETAILS_BUTTON); DatafeedTestDriver.getParsedData(mSubscriber, mTeams); for (int i = 0; i < mTeams.size(); i++) { verify(mRenderer).renderFromModel(mTeams.get(i), TeamRenderer.RENDER_DETAILS_BUTTON); } }