Set expectations on HTTP requests made.