code: function getResult(matcherName, pass, ...messageWithPlaceholderValues) {
    const formattedMessage = format.apply(this, messageWithPlaceholderValues);
    messages[matcherName] = formattedMessage; // Save {not} message for later use
    return {
      pass,
      message: formattedMessage.replace(' {not}', pass ? ' not' : '')
    };
  }
docs: Create a jasmine 2 matcher result
  @param {string} matcherName
  @param {Boolean} pass
  @param {...string} message
  @returns {{pass: boolean, message: string}}