@Test public void testEventListWriter() { mWriter.write(mEvents, 0L); SQLiteDatabase db = mDb.getWritableDatabase(); for (Event event : mEvents) { verify(db).insert(Database.TABLE_EVENTS, null, event.getParams(mGson)); } }
@Inject public EventListWriter(Database db) { super(db); }
EventListWriter extends BaseDbWriter<List<Event>> { @Inject public EventListWriter(Database db) { super(db); } }
EventListWriter extends BaseDbWriter<List<Event>> { @Inject public EventListWriter(Database db) { super(db); } @Inject  EventListWriter(Database db); }
EventListWriter extends BaseDbWriter<List<Event>> { @Inject public EventListWriter(Database db) { super(db); } @Inject  EventListWriter(Database db); @Override @WorkerThread void write(List<Event> events, Long lastModified); }
EventListWriter extends BaseDbWriter<List<Event>> { @Inject public EventListWriter(Database db) { super(db); } @Inject  EventListWriter(Database db); @Override @WorkerThread void write(List<Event> events, Long lastModified);  }