src/http/mock.js
function _gpfHttMockMatch (mockedRequests, request) {
    var result;
    mockedRequests.every(function (mockedRequest) {
        result = _gpfHttMockMatchRequest(mockedRequest, request);
        return result === undefined;
    });
    return result;
}
function _gpfHttMockMatch (mockedRequests, request) {
    var result;
    mockedRequests.every(function (mockedRequest) {
        result = _gpfHttMockMatchRequest(mockedRequest, request);
        return result === undefined;
    });
    return result;
}
function _gpfHttMockMatch ( mockedRequests , request ) { var result ; mockedRequests . every ( function ( mockedRequest ) { result = _gpfHttMockMatchRequest ( mockedRequest , request ) ; return result === undefined ; } ) ; return result ; }
Match the provided request to the list of mocked ones

@param {gpf.typedef.mockedRequest[]} mockedRequests List of mocked requests for the given method
@param {gpf.typedef.httpRequestSettings} request Request to match
@return {Promise<gpf.typedef.httpRequestResponse>|undefined} undefined if no mocked request matches
@since 0.2.2
Match the provided request to the list of mocked ones