public RecordedRequest takeRequest() throws InterruptedException {
  return requestQueue.take();
}

public RecordedRequest takeRequest ( ) throws InterruptedException { return requestQueue . take ( ) ; }
awaits the next http request , removes it , and returns it . callers should use this to verify the request sent was as intended .
