Class goog.testing.mockmatchers.InstanceOf
code »goog.testing.mockmatchers.ArgumentMatcher
└ goog.testing.mockmatchers.InstanceOfA matcher that verifies that an argument is an instance of a given class.
Constructor
goog.testing.mockmatchers.InstanceOf ( ctor )
| Parameters |
|---|
|
Show:
Instance Methods
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.
| Parameters |
|---|
|
| Returns |
|