Interface ResponseActions


public interface ResponseActions
Allows for setting up expectation about response messages. Implementations of this interface are returned by MockWebServiceClient.sendRequest(RequestCreator).
Since:
2.0
Author:
Arjen Poutsma
  • Method Summary

    Modifier and Type
    Method
    Description
    andExpect(ResponseMatcher responseMatcher)
    Sets up an expectation about the response message.
  • Method Details

    • andExpect

      ResponseActions andExpect(ResponseMatcher responseMatcher)
      Sets up an expectation about the response message.
      Parameters:
      responseMatcher - the response matcher that defines expectations
      Returns:
      an instance of ResponseActions, to set up further expectations