use of io.reactivex.internal.operators.observable.BlockingObservableNext.NextObserver in project RxJava by ReactiveX.
the class BlockingObservableNextTest method nextObserverError.
@Test
public void nextObserverError() {
NextObserver<Integer> no = new NextObserver<Integer>();
List<Throwable> errors = TestHelper.trackPluginErrors();
try {
no.onError(new TestException());
TestHelper.assertUndeliverable(errors, 0, TestException.class);
} finally {
RxJavaPlugins.reset();
}
}
Aggregations