@Test public void clear_completes() { defaultSearchDataModel.clear() .test() .assertComplete(); }
@Override @NonNull public Completable clear() { return Completable.fromAction(this::reportClear); }
DefaultSearchDataModel implements SearchDataModel { @Override @NonNull public Completable clear() { return Completable.fromAction(this::reportClear); } }
DefaultSearchDataModel implements SearchDataModel { @Override @NonNull public Completable clear() { return Completable.fromAction(this::reportClear); } DefaultSearchDataModel(@NonNull final FreeSoundApiService freeSoundApiService,
                           @NonNull final SchedulerProvider schedulerProvider); }
DefaultSearchDataModel implements SearchDataModel { @Override @NonNull public Completable clear() { return Completable.fromAction(this::reportClear); } DefaultSearchDataModel(@NonNull final FreeSoundApiService freeSoundApiService,
                           @NonNull final SchedulerProvider schedulerProvider); @NonNull @Override Completable querySearch(@NonNull final String query,
                                   @NonNull final Completable preliminaryTask); @Override @NonNull Observable<SearchState> getSearchStateOnceAndStream(); @Override @NonNull Completable clear(); }
DefaultSearchDataModel implements SearchDataModel { @Override @NonNull public Completable clear() { return Completable.fromAction(this::reportClear); } DefaultSearchDataModel(@NonNull final FreeSoundApiService freeSoundApiService,
                           @NonNull final SchedulerProvider schedulerProvider); @NonNull @Override Completable querySearch(@NonNull final String query,
                                   @NonNull final Completable preliminaryTask); @Override @NonNull Observable<SearchState> getSearchStateOnceAndStream(); @Override @NonNull Completable clear();  }