use of io.reactivex.rxjava3.internal.operators.flowable.FlowableTimeout.TimeoutConsumer in project RxJava by ReactiveX.
the class FlowableTimeoutWithSelectorTest method timeoutConsumerIsDisposed.
@Test
public void timeoutConsumerIsDisposed() {
TimeoutConsumer consumer = new TimeoutConsumer(0, null);
assertFalse(consumer.isDisposed());
consumer.dispose();
assertTrue(consumer.isDisposed());
}
Aggregations