Package akka.persistence.testkit.javadsl
Class EventSourcedBehaviorTestKit.SerializationSettings
- java.lang.Object
-
- akka.persistence.testkit.javadsl.EventSourcedBehaviorTestKit.SerializationSettings
-
- Enclosing class:
- EventSourcedBehaviorTestKit<Command,Event,State>
public static final class EventSourcedBehaviorTestKit.SerializationSettings extends java.lang.Object
Customization of which serialization checks that are performed.equals
must be implemented (or usingcase class
) whenverifyEquality
is enabled.
-
-
Constructor Summary
Constructors Constructor Description SerializationSettings(boolean enabled, boolean verifyEquality, boolean verifyCommands, boolean verifyEvents, boolean verifyState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
enabled()
boolean
verifyCommands()
boolean
verifyEquality()
boolean
verifyEvents()
boolean
verifyState()
EventSourcedBehaviorTestKit.SerializationSettings
withEnabled(boolean value)
EventSourcedBehaviorTestKit.SerializationSettings
withVerifyCommands(boolean value)
EventSourcedBehaviorTestKit.SerializationSettings
withVerifyEquality(boolean value)
EventSourcedBehaviorTestKit.SerializationSettings
withVerifyEvents(boolean value)
EventSourcedBehaviorTestKit.SerializationSettings
withVerifyState(boolean value)
-
-
-
Method Detail
-
enabled
public boolean enabled()
-
verifyCommands
public boolean verifyCommands()
-
verifyEquality
public boolean verifyEquality()
-
verifyEvents
public boolean verifyEvents()
-
verifyState
public boolean verifyState()
-
withEnabled
public EventSourcedBehaviorTestKit.SerializationSettings withEnabled(boolean value)
-
withVerifyCommands
public EventSourcedBehaviorTestKit.SerializationSettings withVerifyCommands(boolean value)
-
withVerifyEquality
public EventSourcedBehaviorTestKit.SerializationSettings withVerifyEquality(boolean value)
-
withVerifyEvents
public EventSourcedBehaviorTestKit.SerializationSettings withVerifyEvents(boolean value)
-
withVerifyState
public EventSourcedBehaviorTestKit.SerializationSettings withVerifyState(boolean value)
-
-