code: function wrapper(matcherName, legacyMatcher){
        return function(util, customEqualityTesters){
          return { 
            compare: function(actual, expected){
              var scope = {actual: actual}, message, result;
              
              result = legacyMatcher.call(scope, expected)
              
              message = scope.message && scope.message()[result ? 1 : 0];
              return {
                pass:result,
                message : message
              }
            }
          }
        }
      }
docs: Wraps Jasmine2 matcher to be compliant with Jasmine 1 API.