All tracked effects must extend implement this type.
All tracked effects must extend implement this type. It is deliberately not sealed in order to allow extensions.
An ActorContext for testing purposes that records the effects performed on it and otherwise stubs them out like a StubbedActorContext.
Utility for receiving messages outside of an actor.
Utility for receiving messages outside of an actor. No methods are provided for synchronously awaiting a message, this is primarily useful for synchronous tests of behaviors that send messages to other actors, where an Inbox’s ActorRef can conveniently be used as a stub.
An ActorContext for synchronous execution of a Behavior that
provides only stubs for the effects an Actor can perform and replaces
created child Actors by a synchronous Inbox (see Inbox.sync
).
An ActorContext for synchronous execution of a Behavior that
provides only stubs for the effects an Actor can perform and replaces
created child Actors by a synchronous Inbox (see Inbox.sync
).
See EffectfulActorContext for more advanced uses.
EventListener for running tests, which allows selectively filtering out expected messages.
EventListener for running tests, which allows selectively filtering out expected messages. To use it, include something like this into your config
akka.typed {
loggers = ["akka.typed.testkit.TestEventListener"]
}