### Question:
TeamListWriter extends BaseDbWriter<List<Team>> { @Inject public TeamListWriter(Database db) { super(db); } @Inject  TeamListWriter(Database db); @Override @WorkerThread void write(List<Team> teams, Long lastModified);  }### Answer:
@Test public void testTeamListWriter() { mWriter.write(mTeams, 0L); SQLiteDatabase db = mDb.getWritableDatabase(); for (Team team : mTeams) { verify(db).insert(Database.TABLE_TEAMS, null, team.getParams(mGson)); } }