### Question:
EventTeamListWriter extends BaseDbWriter<List<EventTeam>> { @Override @WorkerThread public void write(List<EventTeam> eventTeams, Long lastModified) { mDb.getEventTeamsTable().add(ImmutableList.copyOf(eventTeams), lastModified); } @Inject  EventTeamListWriter(Database db); @Override @WorkerThread void write(List<EventTeam> eventTeams, Long lastModified);  }### Answer:
@Test public void testEventListWriter() { mWriter.write(mEventTeams, 0L); SQLiteDatabase db = mDb.getWritableDatabase(); for (EventTeam eventTeam : mEventTeams) { verify(db).insert(Database.TABLE_EVENTTEAMS, null, eventTeam.getParams(mGson)); } }