### Question:
TeamWriter extends BaseDbWriter<Team> { @Override @WorkerThread public void write(Team team, Long lastModified) { mDb.getTeamsTable().add(team, lastModified); } @Inject  TeamWriter(Database db); @Override @WorkerThread void write(Team team, Long lastModified);  }### Answer:
@Test public void testTeamListWriter() { mWriter.write(mTeam, 0L); SQLiteDatabase db = mDb.getWritableDatabase(); verify(db).insert(Database.TABLE_TEAMS, null, mTeam.getParams(mGson)); }