labs.mock.VerificationError Extends goog.debug.Error
Error thrown when verification failed.

Inheritance

Constructor

goog.labs.mock.VerificationError(recordedCallsmethodNameargs)

Parameters

recordedCalls : Array
The recorded calls that didn't match the expectation.
methodName : !string
The expected method call.
args : !Array
The expected arguments.
Public Protected Private

Instance Properties

constructor :
No description.
Code »
name :
No description.
Code »
constructor :
No description.
Code »
message :
No description.
Code »
name :
No description.
Code »
stack :
No description.
Code »

Static Methods

goog.labs.mock.VerificationError.getVerificationErrorMsg_(recordedCallsmethodNameargs) string
Constructs a descriptive error message for an expected method call.
Arguments:
recordedCalls : Array
The recorded calls that didn't match the expectation.
methodName : !string
The expected method call.
args : !Array
The expected arguments.
Returns: string  The error message.
code »

Static Properties

goog.labs.mock.VerificationError.superClass_ :
No description.
Code »

Package labs.mock

Package Reference