Interface EventSourcedBehaviorTestKit.CommandResultWithReply<Command,Event,State,Reply>

All Superinterfaces:
EventSourcedBehaviorTestKit.CommandResult<Command,Event,State>
Enclosing interface:
EventSourcedBehaviorTestKit<Command,Event,State>

public static interface EventSourcedBehaviorTestKit.CommandResultWithReply<Command,Event,State,Reply> extends EventSourcedBehaviorTestKit.CommandResult<Command,Event,State>
The result of running a command with a replyTo: ActorRef[R], i.e. the runCommand with a ActorRef[R] => Command parameter.
  • Method Details

    • hasNoReply

      boolean hasNoReply()
      true if there is no reply.
    • reply

      Reply reply()
      The reply. It will throw AssertionError if there was no reply.
    • replyOfType

      <R extends Reply> R replyOfType(scala.reflect.ClassTag<R> evidence$3)
      The reply as a given expected type. It will throw AssertionError if there is no reply or if the reply is of a different type.