### Question:
EventTeamWriter extends BaseDbWriter<EventTeam> { @Override @WorkerThread public void write(EventTeam eventTeam, Long lastModified) { mDb.getEventTeamsTable().add(eventTeam, lastModified); } @Inject  EventTeamWriter(Database db); @Override @WorkerThread void write(EventTeam eventTeam, Long lastModified);  }### Answer:
@Test public void testEventListWriter() { mWriter.write(mEventTeam, 0L); SQLiteDatabase db = mDb.getWritableDatabase(); verify(db).insert(Database.TABLE_EVENTTEAMS, null, mEventTeam.getParams(mGson)); }