src/index.js
function ExpectedRequest(method, path, data) {
    this.method = method;
    this.path = path;
    this.data = data;
    this.response = null;
    this.checks = [];
}
function ExpectedRequest(method, path, data) {
    this.method = method;
    this.path = path;
    this.data = data;
    this.response = null;
    this.checks = [];
}
function ExpectedRequest ( method , path , data ) { this . method = method ; this . path = path ; this . data = data ; this . response = null ; this . checks = [ ] ; }
Represents the expectation of a request.

<p>Includes the conditions to be matched against, the checks to be made,
and the response to be returned.

@constructor
@param {string} method
@param {string} path
@param {object?} data
Represents the expectation of a request .