package javadsl
- Alphabetic
- Public
- Protected
Type Members
- final class EventSourcedBehaviorTestKit[Command, Event, State] extends AnyRef
- Annotations
- @ApiMayChange()
- final case class PersistenceEffect[T](persistedObject: T, sequenceNr: Long, tags: Set[String]) extends Product with Serializable
- trait PersistenceProbe[T] extends AnyRef
Not for user extension
Not for user extension
- Annotations
- @DoNotInherit()
- class PersistenceTestKit extends AnyRef
Class for testing persisted events in persistent actors.
Class for testing persisted events in persistent actors.
- Annotations
- @ApiMayChange()
- class SnapshotTestKit extends AnyRef
Class for testing persisted snapshots in persistent actors.
Class for testing persisted snapshots in persistent actors.
- Annotations
- @ApiMayChange()
- final class UnpersistentBehavior[Command, Event, State] extends AnyRef
Value Members
- object EventSourcedBehaviorTestKit
Testing of akka.persistence.typed.javadsl.EventSourcedBehavior implementations.
Testing of akka.persistence.typed.javadsl.EventSourcedBehavior implementations. It supports running one command at a time and you can assert that the synchronously returned result is as expected. The result contains the events emitted by the command and the new state after applying the events. It also has support for verifying the reply to a command.
Serialization of commands, events and state are verified automatically.
- Annotations
- @ApiMayChange()
- object PersistenceInit
Test utility to initialize persistence plugins.
Test utility to initialize persistence plugins. Useful when initialization order or coordination is needed. For example to avoid creating tables concurrently.
- object PersistenceTestKit
- object SnapshotTestKit
- object UnpersistentBehavior