Class AbstractSubscriber<T>

java.lang.Object
io.smallrye.mutiny.helpers.test.AbstractSubscriber<T>
Type Parameters:
T - the type of the items
All Implemented Interfaces:
Flow.Subscriber<T>, Flow.Subscription

public class AbstractSubscriber<T> extends Object implements Flow.Subscriber<T>, Flow.Subscription
A convenient base class for a subscriber and subscription to extend in tests and that manages the subscription and requests.

Implementations shall override onNext(Object), onError(Throwable) and/or onComplete() to add test-specific custom logic.