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