use of io.reactivex.internal.disposables.ObserverFullArbiter in project RxJava by ReactiveX.
the class ObserverFullArbiterTest method errorAfterCancel.
@Test
public void errorAfterCancel() {
ObserverFullArbiter<Integer> fa = new ObserverFullArbiter<Integer>(new TestObserver<Integer>(), null, 128);
Disposable bs = Disposables.empty();
fa.dispose();
List<Throwable> errors = TestHelper.trackPluginErrors();
try {
fa.onError(new TestException(), bs);
TestHelper.assertUndeliverable(errors, 0, TestException.class);
} finally {
RxJavaPlugins.reset();
}
}
Aggregations