Class EventSourcedBehaviorTestKit.SerializationSettings
- java.lang.Object
-
- akka.persistence.testkit.scaladsl.EventSourcedBehaviorTestKit.SerializationSettings
-
- Enclosing interface:
- 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.
-
-
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()
-
verifyEquality
public boolean verifyEquality()
-
verifyCommands
public boolean verifyCommands()
-
verifyEvents
public boolean verifyEvents()
-
verifyState
public boolean verifyState()
-
withEnabled
public EventSourcedBehaviorTestKit.SerializationSettings withEnabled(boolean value)
-
withVerifyEquality
public EventSourcedBehaviorTestKit.SerializationSettings withVerifyEquality(boolean value)
-
withVerifyCommands
public EventSourcedBehaviorTestKit.SerializationSettings withVerifyCommands(boolean value)
-
withVerifyEvents
public EventSourcedBehaviorTestKit.SerializationSettings withVerifyEvents(boolean value)
-
withVerifyState
public EventSourcedBehaviorTestKit.SerializationSettings withVerifyState(boolean value)
-
-