lib/client.js
function( expected, actual, msg ) {
			var assert = bender.assert;

			assert.isTypeOf( 'object', expected, 'Expected is not an object' );
			assert.isTypeOf( 'object', actual, 'Actual is not an object' );

			// Simply convert to JSON strings for a good diff in case of fails.
			expected = JSON.stringify( objectHelpers.sortObjectProperties( expected ) );
			actual = JSON.stringify( objectHelpers.sortObjectProperties( actual ) );

			this.js( expected, actual, msg );
		}
function( expected, actual, msg ) {
			var assert = bender.assert;

			assert.isTypeOf( 'object', expected, 'Expected is not an object' );
			assert.isTypeOf( 'object', actual, 'Actual is not an object' );

			// Simply convert to JSON strings for a good diff in case of fails.
			expected = JSON.stringify( objectHelpers.sortObjectProperties( expected ) );
			actual = JSON.stringify( objectHelpers.sortObjectProperties( actual ) );

			this.js( expected, actual, msg );
		}
Compares two objects.

@param {mixed} expected
@param {mixed} actual
@param {String} [msg] Assertion message.