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.ObjectCustomization of which serialization checks that are performed.equalsmust be implemented (or usingcase class) whenverifyEqualityis enabled.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanenabled()booleanverifyCommands()booleanverifyEquality()booleanverifyEvents()booleanverifyState()EventSourcedBehaviorTestKit.SerializationSettingswithEnabled(boolean value)EventSourcedBehaviorTestKit.SerializationSettingswithVerifyCommands(boolean value)EventSourcedBehaviorTestKit.SerializationSettingswithVerifyEquality(boolean value)EventSourcedBehaviorTestKit.SerializationSettingswithVerifyEvents(boolean value)EventSourcedBehaviorTestKit.SerializationSettingswithVerifyState(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)
-
-