### Question:
DistrictTeamListWriter extends BaseDbWriter<List<DistrictRanking>> { @Inject public DistrictTeamListWriter(Database db) { super(db); } @Inject  DistrictTeamListWriter(Database db); @Override @WorkerThread void write(List<DistrictRanking> districtTeams, Long lastModified);  }### Answer:
@Test public void testDistrictTeamListWriter() { mWriter.write(mDistrictTeams, 0L); SQLiteDatabase db = mDb.getWritableDatabase(); for (DistrictRanking districtTeam : mDistrictTeams) { verify(db).insert(Database.TABLE_DISTRICTTEAMS, null, districtTeam.getParams(mGson)); } }