public static void addHttpResponseRule(RequestMatcher requestMatcher, List<? extends HttpResponse> responses) {
    """
	Adds an HTTP response rule. For each time the rule is matched, responses will be shifted
	off the list and returned. When all responses have been given and the rule is matched again,
	an exception will be thrown.
	
	@param requestMatcher custom {@code RequestMatcher}.
	@param responses      responses to return in order when a match is found.
    """
    getFakeHttpLayer().addHttpResponseRule(requestMatcher, responses);
  }
public static void addHttpResponseRule(RequestMatcher requestMatcher, List<? extends HttpResponse> responses) {
    getFakeHttpLayer().addHttpResponseRule(requestMatcher, responses);
  }
public static void addHttpResponseRule ( RequestMatcher requestMatcher , List < ? extends HttpResponse > responses ) { getFakeHttpLayer ( ) . addHttpResponseRule ( requestMatcher , responses ) ; }
Adds an HTTP response rule. For each time the rule is matched, responses will be shifted
off the list and returned. When all responses have been given and the rule is matched again,
an exception will be thrown.

@param requestMatcher custom {@code RequestMatcher}.
@param responses      responses to return in order when a match is found.
Adds an HTTP response rule . For each time the rule is matched responses will be shifted off the list and returned . When all responses have been given and the rule is matched again an exception will be thrown .