StubTableActionAlterations implements TableActionAlterations<T> { @NonNull @Override public Single<List<T>> postGet(@NonNull List<T> list) { return Single.just(list); }  @NonNull @Override Completable preGet(); @NonNull @Override Single<List<T>> postGet(@NonNull List<T> list); @NonNull @Override Single<T> preInsert(@NonNull T t); @NonNull @Override Single<T> postInsert(@NonNull T t); @NonNull @Override Single<T> preUpdate(@NonNull T oldT, @NonNull T newT); @NonNull @Override Single<T> postUpdate(@NonNull T oldT, @Nullable T newT); @NonNull @Override Single<T> preDelete(@NonNull T t); @NonNull @Override Single<T> postDelete(@Nullable T t);  }
@Test public void postGet() { final List<Object> objects = Arrays.asList(new Object(), new Object(), new Object()); mStubTableActionAlterations.postGet(objects) .test() .assertValue(objects) .assertComplete() .assertNoErrors(); }