public static void addHttpResponseRule ( String method , String uri , HttpResponse response ) { getFakeHttpLayer ( ) . addHttpResponseRule ( method , uri , response ) ; }
Adds an HTTP response rule . The response will be returned when the rule is matched .