Search in sources :

Example 1 with MergeSequentialInner

use of reactor.core.publisher.ParallelMergeSequential.MergeSequentialInner in project reactor-core by reactor.

the class ParallelMergeSequentialTest method scanInnerSubscriber.

@Test
public void scanInnerSubscriber() {
    CoreSubscriber<Integer> mainActual = new LambdaSubscriber<>(null, e -> {
    }, null, null);
    MergeSequentialMain<Integer> main = new MergeSequentialMain<>(mainActual, 2, 123, Queues.small());
    MergeSequentialInner<Integer> test = new MergeSequentialInner<>(main, 456);
    Subscription subscription = Operators.emptySubscription();
    test.onSubscribe(subscription);
}
Also used : MergeSequentialMain(reactor.core.publisher.ParallelMergeSequential.MergeSequentialMain) MergeSequentialInner(reactor.core.publisher.ParallelMergeSequential.MergeSequentialInner) Subscription(org.reactivestreams.Subscription) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 Subscription (org.reactivestreams.Subscription)1 MergeSequentialInner (reactor.core.publisher.ParallelMergeSequential.MergeSequentialInner)1 MergeSequentialMain (reactor.core.publisher.ParallelMergeSequential.MergeSequentialMain)1