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