code: function checkPath(expected, actual){
      if(!expected && expected !== ""){
          return;
      }
      if(actual.toLowerCase() !== expected.toLowerCase()){
          return {
              error: "Url paths are not equal",
              actual: actual,
              expected: expected,
              showDiff: true
          };
      }
  }
docs: Private api:
  Checks the path given
  @param {String} actual The actual url path, ie "/foo/bar/123"
  @param {String} expected The expecte url path