check = function() {
        if (--server.__pending === 0) {
            server.close();
            server.__listening = false;
        }
    }
Assert response from `server` with
the given `req` object and `res` assertions object.

@param {Server} server
@param {Object} req
@param {Object|Function} res
@param {String} msg