Package akka.javasdk.testkit
Interface EventingTestKit
public interface EventingTestKit
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAllows to simulate publishing messages for the purposes of testing incoming message flow.static interfacestatic classstatic interfaceAllows 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) getWorkflowIncomingMessages(String typeId) static EventingTestKitstart(akka.actor.typed.ActorSystem<?> system, String host, int port, akka.javasdk.impl.serialization.JsonSerializer serializer) INTERNAL API
-
Method Details
-
start
@InternalApi static EventingTestKit start(akka.actor.typed.ActorSystem<?> system, String host, int port, akka.javasdk.impl.serialization.JsonSerializer serializer) INTERNAL API -
getTopicOutgoingMessages
-
getTopicIncomingMessages
-
getKeyValueEntityIncomingMessages
-
getEventSourcedEntityIncomingMessages
-
getWorkflowIncomingMessages
-
getStreamIncomingMessages
-