Class EventSourcedBehaviorTestKit.CommandResultWithReply<Command,​Event,​State,​Reply>

    • Method Detail

      • reply

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

        public <R extends Reply> R replyOfType​(java.lang.Class<R> replyClass)
        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.