### Question:
PreparedDeleteByQuery extends PreparedDelete<DeleteResult, DeleteQuery> { @NonNull @Override public DeleteQuery getData() { return deleteQuery; } 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 shouldReturnQueryInGetData() { final DeleteByQueryStub stub = DeleteByQueryStub.newInstance(); final PreparedDeleteByQuery prepared = new PreparedDeleteByQuery.Builder(stub.storIOContentResolver, stub.deleteQuery) .withDeleteResolver(stub.deleteResolver) .prepare(); assertThat(prepared.getData()).isEqualTo(stub.deleteQuery); }