search

goog.testing.MockClassRecord

Provided By

A record that represents all the data associated with a mock replacement of a given class.

new MockClassRecord( namespace, className, originalClass, proxy )

Parameters
namespace(Object|null)

The namespace in which the mocked class resides.

classNamestring

The name of the class within the namespace.

originalClass(Function|null)

The original class implementation before it was replaced by a proxy.

proxy(Function|null)

The proxy that replaced the original class.

Instance Methods