code: function (propertyName, object, message) {
          YUITest.Assert._increment();
          if (!(propertyName in object)){
              YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Property '" + propertyName + "' not found on object."));
          }
      }
docs: Asserts that an object has a property with the given name.
  @param {String} propertyName The name of the property to test.
  @param {Object} object The object to search.
  @param {String} message (Optional) The message to display if the assertion fails.
  @method ownsOrInheritsKey
  @static