### Question:
MatchListWriter extends BaseDbWriter<List<Match>> { @Inject public MatchListWriter(Database db) { super(db); } @Inject  MatchListWriter(Database db); @Override @WorkerThread void write(List<Match> matches, Long lastModified);  }### Answer:
@Test public void testMatchListWriter() { mWriter.write(mMatches, 0L); SQLiteDatabase db = mDb.getWritableDatabase(); for (Match match : mMatches) { verify(db).insert(Database.TABLE_MATCHES, null, match.getParams(mGson)); } }