use of com.pushtorefresh.storio.contentresolver.queries.DeleteQuery in project storio by pushtorefresh.
the class DeleteOperationDesignTest method deleteByQueryObservable.
@Test
public void deleteByQueryObservable() {
final DeleteQuery deleteQuery = DeleteQuery.builder().uri(mock(Uri.class)).where("some_field = ?").whereArgs("someValue").build();
Observable<DeleteResult> deleteResultObservable = storIOContentResolver().delete().byQuery(deleteQuery).prepare().asRxObservable();
}
Aggregations