@Test public void testEventListWriter() { mWriter.write(mMedia, 0L); SQLiteDatabase db = mDb.getWritableDatabase(); verify(db).insert(Database.TABLE_MEDIAS, null, mMedia.getParams(mGson)); }
@Override @WorkerThread public void write(Media media, Long lastModified) { mDb.getMediasTable().add(media, lastModified); }
MediaWriter extends BaseDbWriter<Media> { @Override @WorkerThread public void write(Media media, Long lastModified) { mDb.getMediasTable().add(media, lastModified); } }
MediaWriter extends BaseDbWriter<Media> { @Override @WorkerThread public void write(Media media, Long lastModified) { mDb.getMediasTable().add(media, lastModified); } @Inject  MediaWriter(Database db); }
MediaWriter extends BaseDbWriter<Media> { @Override @WorkerThread public void write(Media media, Long lastModified) { mDb.getMediasTable().add(media, lastModified); } @Inject  MediaWriter(Database db); @Override @WorkerThread void write(Media media, Long lastModified); }
MediaWriter extends BaseDbWriter<Media> { @Override @WorkerThread public void write(Media media, Long lastModified) { mDb.getMediasTable().add(media, lastModified); } @Inject  MediaWriter(Database db); @Override @WorkerThread void write(Media media, Long lastModified);  }