shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/FakeHttpLayer.java
public void addHttpResponseRule(RequestMatcher requestMatcher, List<? extends HttpResponse> responses) {
    addHttpResponseRule(new RequestMatcherResponseRule(requestMatcher, responses));
  }
public void addHttpResponseRule(RequestMatcher requestMatcher, List<? extends HttpResponse> responses) {
    addHttpResponseRule(new RequestMatcherResponseRule(requestMatcher, responses));
  }
public void addHttpResponseRule ( RequestMatcher requestMatcher , List < ? extends HttpResponse > responses ) { addHttpResponseRule ( new RequestMatcherResponseRule ( requestMatcher , responses ) ) ; }
Add a response rule.

@param requestMatcher Request matcher
@param responses      A list of responses that are returned to matching requests in order from first to last.
Add a response rule .