### Question:
PreparedDeleteByQuery extends PreparedDelete<DeleteResult, DeleteQuery> { @NonNull @CheckResult @Override public Flowable<DeleteResult> asRxFlowable(@NonNull BackpressureStrategy backpressureStrategy) { return RxJavaUtils.createFlowable(storIOContentResolver, this, backpressureStrategy); } PreparedDeleteByQuery(@NonNull StorIOContentResolver storIOContentResolver,
                          @NonNull DeleteQuery deleteQuery,
                          @NonNull DeleteResolver<DeleteQuery> deleteResolver); @NonNull @CheckResult @Override Flowable<DeleteResult> asRxFlowable(@NonNull BackpressureStrategy backpressureStrategy); @NonNull @CheckResult @Override Single<DeleteResult> asRxSingle(); @NonNull @CheckResult @Override Completable asRxCompletable(); @NonNull @Override DeleteQuery getData();  }### Answer:
@Test public void shouldDeleteByQueryAsFlowable() { final DeleteByQueryStub deleteStub = DeleteByQueryStub.newInstance(); final Flowable<DeleteResult> deleteResultFlowable = deleteStub.storIOContentResolver .delete() .byQuery(deleteStub.deleteQuery) .withDeleteResolver(deleteStub.deleteResolver) .prepare() .asRxFlowable(BackpressureStrategy.MISSING); deleteStub.verifyBehavior(deleteResultFlowable); }