Uses of Class
io.helidon.messaging.connectors.mock.MockOutgoing
Package
Description
Helidon messaging mock connector for testing purposes.
-
Uses of MockOutgoing in io.helidon.messaging.connectors.mock
Modifier and TypeMethodDescription<T> MockOutgoing<P>
MockOutgoing.assertData
(Function<Message<P>, P> mapper, org.hamcrest.Matcher<? super T> matcher) Assert if matching data has been received.final MockOutgoing<P>
Assert if matching messages has been received.<T> MockOutgoing<P>
MockOutgoing.assertPayloads
(org.hamcrest.Matcher<? super T> matcher) Assert if matching payloads has been received.final MockOutgoing<P>
MockOutgoing.assertPayloads
(P... expected) Assert if matching payloads has been received.MockOutgoing.awaitComplete
(Duration timeout) Block current thread until channel gets terminated with complete signal.MockOutgoing.awaitCount
(Duration timeout, int count) Block current thread until expected number of items is received.Block current thread until expected messages are received.Block current thread until expected message is received.final MockOutgoing<P>
MockOutgoing.awaitPayloads
(Duration timeout, P... expectedItems) Block current thread until expected payloads are received.<P> MockOutgoing<P>
Retrieve mocker for outgoing channel.MockOutgoing.request
(long n) Control backpressure manually and requestn
items from upstream.MockOutgoing.requestMax()
Requestunbounded
number of items from upstream and effectively turn off backpressure.