@FunctionalInterface
public interface MessageTarget
| Modifier and Type | Method and Description |
|---|---|
default void |
assertNoMoreSaid()
Asserts that more messages were received by the message target.
|
default void |
assertSaid(@NotNull java.lang.String expected)
Asserts that a specific message was not received next by the message target.
|
java.lang.String |
nextMessage()
Returns the next message that was sent to the target.
|
java.lang.String nextMessage()
default void assertSaid(@NotNull
@NotNull java.lang.String expected)
expected - The message that should have been received by the target.default void assertNoMoreSaid()