Class EventSourcedBehaviorTestKit.CommandResultWithReply<Command,Event,State,Reply>   
java.lang.Object
org.apache.pekko.persistence.testkit.javadsl.EventSourcedBehaviorTestKit.CommandResult<Command,Event,State>
  
org.apache.pekko.persistence.testkit.javadsl.EventSourcedBehaviorTestKit.CommandResultWithReply<Command,Event,State,Reply>   
- Enclosing class:
- EventSourcedBehaviorTestKit<Command,Event, State> 
public static final class EventSourcedBehaviorTestKit.CommandResultWithReply<Command,Event,State,Reply>   
extends EventSourcedBehaviorTestKit.CommandResult<Command,Event,State>  
The result of running a command with a 
ActorRef replyTo , i.e. the runCommand with a
 Function<ActorRef, Command>  parameter.- 
Constructor SummaryConstructorsConstructorDescriptionCommandResultWithReply(EventSourcedBehaviorTestKit.CommandResultWithReply<Command, Event, State, Reply> delegate) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleantrueif there is no reply.reply()The reply.<R extends Reply>
 RreplyOfType(Class<R> replyClass) The reply as a given expected type.Methods inherited from class org.apache.pekko.persistence.testkit.javadsl.EventSourcedBehaviorTestKit.CommandResultcommand, event, eventOfType, events, hasNoEvents, state, stateOfType
- 
Constructor Details- 
CommandResultWithReplypublic CommandResultWithReply(EventSourcedBehaviorTestKit.CommandResultWithReply<Command, Event, State, Reply> delegate) 
 
- 
- 
Method Details- 
hasNoReplypublic boolean hasNoReply()trueif there is no reply.
- 
replyThe reply. It will throwAssertionErrorif there was no reply.
- 
replyOfTypeThe reply as a given expected type. It will throwAssertionErrorif there is no reply or if the reply is of a different type.
 
-