code: function (properties, object, message) {
          YUITest.Assert._increment();
          for (var i=0; i < properties.length; i++){
              if (!(properties[i] in object)){
                  YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Property '" + properties[i] + "' not found on object."));
              }
          }
      }
docs: Asserts that an object has all properties of a reference object.
  @param {Array} properties An array of property names that should be on the object.
  @param {Object} object The object to search.
  @param {String} message (Optional) The message to display if the assertion fails.
  @method ownsOrInheritsKeys
  @static