@Test public void testDistrictListWriter() { mWriter.write(mDistricts, 0L); SQLiteDatabase db = mDb.getWritableDatabase(); for (District district : mDistricts) { verify(db).insert(Database.TABLE_DISTRICTS, null, district.getParams(mGson)); } }
@Inject public DistrictListWriter(Database db) { super(db); }
DistrictListWriter extends BaseDbWriter<List<District>> { @Inject public DistrictListWriter(Database db) { super(db); } }
DistrictListWriter extends BaseDbWriter<List<District>> { @Inject public DistrictListWriter(Database db) { super(db); } @Inject  DistrictListWriter(Database db); }
DistrictListWriter extends BaseDbWriter<List<District>> { @Inject public DistrictListWriter(Database db) { super(db); } @Inject  DistrictListWriter(Database db); @Override @WorkerThread void write(List<District> districts, Long lastModified); }
DistrictListWriter extends BaseDbWriter<List<District>> { @Inject public DistrictListWriter(Database db) { super(db); } @Inject  DistrictListWriter(Database db); @Override @WorkerThread void write(List<District> districts, Long lastModified);  }