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