接口 RequestExpectation

    • 方法详细资料

      • hasRemainingCount

        boolean hasRemainingCount()
        Whether there is a remaining count of invocations for this expectation.
      • incrementAndValidate

        void incrementAndValidate()
        Increase the matched request count and check we haven't passed the max count.
        从以下版本开始:
        5.0.3
      • isSatisfied

        boolean isSatisfied()
        Whether the requirements for this request expectation have been met.