Class EventSourcedBehaviorTestKit.SerializationSettings
java.lang.Object
org.apache.pekko.persistence.testkit.scaladsl.EventSourcedBehaviorTestKit.SerializationSettings
- Enclosing interface:
- EventSourcedBehaviorTestKit<Command,
Event, State>
Customization of which serialization checks that are performed.
equals must be implemented (or using case class) when verifyEquality is enabled.-
Method Summary
Modifier and TypeMethodDescriptionbooleanenabled()booleanbooleanbooleanbooleanwithEnabled(boolean value) withVerifyCommands(boolean value) withVerifyEquality(boolean value) withVerifyEvents(boolean value) withVerifyState(boolean value)
-
Method Details
-
enabled
public boolean enabled() -
verifyEquality
public boolean verifyEquality() -
verifyCommands
public boolean verifyCommands() -
verifyEvents
public boolean verifyEvents() -
verifyState
public boolean verifyState() -
withEnabled
-
withVerifyEquality
-
withVerifyCommands
-
withVerifyEvents
-
withVerifyState
-