code: function(expected, actual, message) {
          YUITest.Assert._increment();
  
          for (var name in expected){
              if (expected.hasOwnProperty(name)){
                  if (expected[name] != actual[name]){
                      throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values should be equal for property " + name), expected[name], actual[name]);
                  }
              }
          }
      }
docs: Asserts that an object has all of the same properties
  and property values as the other.
  @param {Object} expected The object with all expected properties and values.
  @param {Object} actual The object to inspect.
  @param {String} message (Optional) The message to display if the assertion fails.
  @method areEqual
  @static
  @deprecated