code: public static void addHttpResponseRule(String method, String uri, HttpResponse response) {
      getFakeHttpLayer().addHttpResponseRule(method, uri, response);
    }
docs: Adds an HTTP response rule. The response will be returned when the rule is matched.
  
  @param method   method to match.
  @param uri      uri to match.
  @param response response to return when a match is found.