Attributes
- Companion
- object
- Source
- EventSourcedBehaviorTestKit.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Abstract methods
Clears the in-memory journal and snapshot storage and restarts the behavior.
Clears the in-memory journal and snapshot storage and restarts the behavior.
Attributes
Retrieve the current state of the Behavior.
Initializes behavior from provided state and/or events.
Initializes behavior from provided state and/or events.
Attributes
Attributes
The underlying PersistenceTestKit for the in-memory journal. Can be useful for advanced testing scenarios, such as simulating failures or populating the journal with events that are used for replay.
The underlying PersistenceTestKit for the in-memory journal. Can be useful for advanced testing scenarios, such as simulating failures or populating the journal with events that are used for replay.
Attributes
Restart the behavior, which will then recover from stored snapshot and events. Can be used for testing that the recovery is correct.
Restart the behavior, which will then recover from stored snapshot and events. Can be used for testing that the recovery is correct.
Attributes
Run one command through the behavior. The returned result contains emitted events and the state after applying the events.
Run one command through the behavior. The returned result contains emitted events and the state after applying the events.
Attributes
Run one command with a replyTo: ActorRef[R] through the behavior. The returned result contains emitted events, the state after applying the events, and the reply.
Run one command with a replyTo: ActorRef[R] through the behavior. The returned result contains emitted events, the state after applying the events, and the reply.
Attributes
The underlying SnapshotTestKit for snapshot storage. Present only if snapshots are enabled. Can be useful for advanced testing scenarios, such as simulating failures or populating the storage with snapshots that are used for replay.
The underlying SnapshotTestKit for snapshot storage. Present only if snapshots are enabled. Can be useful for advanced testing scenarios, such as simulating failures or populating the storage with snapshots that are used for replay.