org.springframework.test.web.client

Class AbstractRequestExpectationManager

  • java.lang.Object
    • org.springframework.test.web.client.AbstractRequestExpectationManager
  • All Implemented Interfaces:
    RequestExpectationManager
    Direct Known Subclasses:
    SimpleRequestExpectationManager, UnorderedRequestExpectationManager


    public abstract class AbstractRequestExpectationManager
    extends java.lang.Object
    implements RequestExpectationManager
    Base class for RequestExpectationManager implementations responsible for storing expectations and actual requests, and checking for unsatisfied expectations at the end.

    Subclasses are responsible for validating each request by matching it to to expectations following the order of declaration or not.

    Since:
    4.3
    Author:
    Rossen Stoyanchev, Juergen Hoeller