Package akka.javasdk.testkit
package akka.javasdk.testkit
-
ClassDescriptionRepresents the result of a Consumer handling a message when run through the testkit.ConsumerTestKit<C extends akka.javasdk.consumer.Consumer>Consumer Testkit for use in unit tests for Consumers.DeferredCallDetails<I,
O> Allows to simulate publishing messages for the purposes of testing incoming message flow.Allows to assert published messages for the purposes of testing outgoing message flow.Represents the result of an EventSourcedEntity handling a command when run in through the testkit.EventSourcedTestKit<S,E, ES extends akka.javasdk.eventsourcedentity.EventSourcedEntity<S, E>> EventSourced Testkit for use in unit tests for EventSourced entities.Represents the result of a KeyValueEntity handling a command when run in through the testkit.KeyValueEntityTestKit<S,E extends akka.javasdk.keyvalueentity.KeyValueEntity<S>> KeyValueEntity Testkit for use in unit tests for Value entities.This trait is meant to allow for unit testing when a service has cross-component or cross-service calls.Helper class for serializing and deserializing objects for testing schema migration.A test utility for reading and inspecting telemetry data captured during test execution.Testkit for running services locally.Settings for testkit.This class provided the necessary infrastructure to run integration test for projects built with the Java SDK.AModelProviderimplementation for testing purposes that does not use a real AI model.Represents an AI response, which can include a message and/or list of tool invocation requests.Represents an input message.Represents a tool invocation request with a name and arguments.Represents a tool result.Represents a user message.Base class for building reply configurations for specific input predicates.Specialized reply builder for handling tool result messages.Test implementation ofNotificationPublisherthat collects all published notifications for later assertions.Represents the result of an Action handling a command when run in through the testkit.TimedActionTestkit<A extends akka.javasdk.timedaction.TimedAction>TimedAction Testkit for use in unit tests for TimedActions.