search

goog.testing.mockmatchers.ObjectEquals

Provided By
Extends

A matcher that verifies that the argument is an object that equals the given expected object, using a deep comparison.

new ObjectEquals( expectedObject )

Parameters
expectedObject(Object|null)

An object to match against when verifying the argument.

Instance Methods