@Test public void testAwardListWriter() { mWriter.write(mAwards, 0L); SQLiteDatabase db = mDb.getWritableDatabase(); for (Award award : mAwards) { verify(db).insert(Database.TABLE_AWARDS, null, award.getParams(mGson)); } }
@Inject public AwardListWriter(Database db) { super(db); }
AwardListWriter extends BaseDbWriter<List<Award>> { @Inject public AwardListWriter(Database db) { super(db); } }
AwardListWriter extends BaseDbWriter<List<Award>> { @Inject public AwardListWriter(Database db) { super(db); } @Inject  AwardListWriter(Database db); }
AwardListWriter extends BaseDbWriter<List<Award>> { @Inject public AwardListWriter(Database db) { super(db); } @Inject  AwardListWriter(Database db); @Override @WorkerThread void write(List<Award> awards, Long lastModified); }
AwardListWriter extends BaseDbWriter<List<Award>> { @Inject public AwardListWriter(Database db) { super(db); } @Inject  AwardListWriter(Database db); @Override @WorkerThread void write(List<Award> awards, Long lastModified);  }