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

    • Method Detail

      • hasNoReply

        public boolean hasNoReply()
        true if there is no reply.
      • 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.