Package akka.javasdk.testkit
Interface EventingTestKit
public interface EventingTestKit
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Allows to simulate publishing messages for the purposes of testing incoming message flow.static interface
static class
static interface
Allows to assert published messages for the purposes of testing outgoing message flow. -
Method Summary
Modifier and TypeMethodDescriptiongetStreamIncomingMessages
(String service, String streamId) getTopicIncomingMessages
(String topic) getTopicOutgoingMessages
(String topic) static EventingTestKit
start
(akka.actor.typed.ActorSystem<?> system, String host, int port, akka.javasdk.impl.MessageCodec codec) INTERNAL API
-
Method Details
-
start
@InternalApi static EventingTestKit start(akka.actor.typed.ActorSystem<?> system, String host, int port, akka.javasdk.impl.MessageCodec codec) INTERNAL API -
getTopicOutgoingMessages
-
getTopicIncomingMessages
-
getKeyValueEntityIncomingMessages
-
getEventSourcedEntityIncomingMessages
-
getStreamIncomingMessages
-