Class SimpleRequestExpectationManager

  • All Implemented Interfaces:
    RequestExpectationManager

    public class SimpleRequestExpectationManager
    extends AbstractRequestExpectationManager
    Simple RequestExpectationManager that matches requests to expectations sequentially, i.e. in the order of declaration of expectations.

    When request expectations have an expected count greater than one, only the first execution is expected to match the order of declaration. Subsequent request executions may be inserted anywhere thereafter.

    Since:
    4.3
    Author:
    Rossen Stoyanchev, Juergen Hoeller