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.ObjectCustomization of which serialization checks that are performed.equalsmust be implemented (or usingcase class) whenverifyEqualityis 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 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()
 
- 
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)
 
 - 
 
 -