org.apache.pekko.persistence.testkit.javadsl

Members list

Type members

Classlikes

Testing of pekko.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.

Testing of pekko.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.

Attributes

Companion
class
Source
EventSourcedBehaviorTestKit.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final class EventSourcedBehaviorTestKit[Command, Event, State](delegate: EventSourcedBehaviorTestKit[Command, Event, State])

Attributes

Companion
object
Source
EventSourcedBehaviorTestKit.scala
Supertypes
class Object
trait Matchable
class Any

Test utility to initialize persistence plugins. Useful when initialization order or coordination is needed. For example to avoid creating tables concurrently.

Test utility to initialize persistence plugins. Useful when initialization order or coordination is needed. For example to avoid creating tables concurrently.

Attributes

Source
PersistenceInit.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Class for testing persisted events in persistent actors.

Class for testing persisted events in persistent actors.

Attributes

Companion
object
Source
PersistenceTestKit.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Source
PersistenceTestKit.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Class for testing persisted snapshots in persistent actors.

Class for testing persisted snapshots in persistent actors.

Attributes

Companion
object
Source
SnapshotTestKit.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Source
SnapshotTestKit.scala
Supertypes
class Object
trait Matchable
class Any
Self type