search

goog.testing.mockmatchers.InstanceOf

Provided By
Extends

A matcher that verifies that an argument is an instance of a given class.

new InstanceOf( ctor )

Parameters
ctor(Function|null)

The class that will be used for verification.

Instance Methods