@Test public void testMatchListWriter() { mWriter.write(mMatch, 0L); SQLiteDatabase db = mDb.getWritableDatabase(); verify(db).insert(Database.TABLE_MATCHES, null, mMatch.getParams(mGson)); }
@Override @WorkerThread public void write(Match match, Long lastModified) { mDb.getMatchesTable().add(match, lastModified); }
MatchWriter extends BaseDbWriter<Match> { @Override @WorkerThread public void write(Match match, Long lastModified) { mDb.getMatchesTable().add(match, lastModified); } }
MatchWriter extends BaseDbWriter<Match> { @Override @WorkerThread public void write(Match match, Long lastModified) { mDb.getMatchesTable().add(match, lastModified); } @Inject  MatchWriter(Database db); }
MatchWriter extends BaseDbWriter<Match> { @Override @WorkerThread public void write(Match match, Long lastModified) { mDb.getMatchesTable().add(match, lastModified); } @Inject  MatchWriter(Database db); @Override @WorkerThread void write(Match match, Long lastModified); }
MatchWriter extends BaseDbWriter<Match> { @Override @WorkerThread public void write(Match match, Long lastModified) { mDb.getMatchesTable().add(match, lastModified); } @Inject  MatchWriter(Database db); @Override @WorkerThread void write(Match match, Long lastModified);  }