code: function (url) {
          return new Promise(function (resolve, reject) {
              middleware(new MockReq(url), new MockRes(url, resolve), reject);
          });
      }
docs: Calls webpack middleware in express manner.
  @param {String} url
  @returns {Promise}