goog.testing.mockmatchers.ObjectEquals
Classgoog.testing.mockmatchers.ObjectEquals
> goog.testing.mockmatchers.ArgumentMatcher
goog.testing.mockmatchers.ObjectEquals(expectedObject)
A matcher that verifies that the argument is an object that equals the given expected object, using a deep comparison.
expectedObject
{Object
}
.matches(toVerify, opt_expectation)
A function that takes a match argument and an optional MockExpectation which (if provided) will get error information and returns whether or not it matches.
toVerify
{*}
opt_expectation
{goog.testing.MockExpectation
?=}
boolean
}