### Question:
AwardListWriter extends BaseDbWriter<List<Award>> { @Inject public AwardListWriter(Database db) { super(db); } @Inject  AwardListWriter(Database db); @Override @WorkerThread void write(List<Award> awards, Long lastModified);  }### Answer:
@Test public void testAwardListWriter() { mWriter.write(mAwards, 0L); SQLiteDatabase db = mDb.getWritableDatabase(); for (Award award : mAwards) { verify(db).insert(Database.TABLE_AWARDS, null, award.getParams(mGson)); } }