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