Uses of Class
io.smallrye.mutiny.helpers.test.AssertMulti
Packages that use AssertMulti
-
Uses of AssertMulti in io.smallrye.mutiny.helpers.test
Methods in io.smallrye.mutiny.helpers.test that return AssertMultiModifier and TypeMethodDescriptionAssertMulti.consumeNext(Consumer<? super T> consumer) Consume and inspect the next item.AssertMulti.consumeNextItems(int count, Consumer<? super List<T>> consumer) Consume and inspect the nextcountitems as a list.static <T> AssertMulti<T> Create a newAssertMultifor the givenMulti.static <T> AssertMulti<T> AssertMulti.expectComplete()Expect the stream to complete.AssertMulti.expectFailure()Expect the stream to fail with any failure.AssertMulti.expectFailure(Class<? extends Throwable> type) Expect the stream to fail with a specific failure type.AssertMulti.expectFailure(Class<? extends Throwable> type, String messageSubstring) Expect the stream to fail with a specific failure type and message substring.AssertMulti.expectFailure(Consumer<Throwable> validator) Expect the stream to fail and validate the failure with a consumer.AssertMulti.expectNext(T expected) Expect the next item to be equal toexpected.final AssertMulti<T> AssertMulti.expectNext(T... expected) Expect the next items to be equal toexpectedin order.AssertMulti.expectNextCount(int count) Expect that the nextcountitems are received (values are not checked).AssertMulti.expectNextMatches(Predicate<? super T> predicate, String description) Expect the next item to match the given predicate.AssertMulti.thenCancel()Cancel the subscription at this point in the step sequence.AssertMulti.thenRequest(long n) Requestnitems from upstream.AssertMulti.withInitialRequest(long n) Set the initial number of items to request from upstream on subscription.