class StubTableActionAlterations implements TableActionAlterations<T> {

    @NonNull
    @Override
    public Single<T> postInsert(@NonNull T t) {
        return Single.fromCallable(() -> {
            if (t == null) {
                throw new Exception("Post insert failed due to a null value");
            }
            return t;
        });
    }

}