interface Spy.ClsObjMeta<T,A>
undocumented
Extends: Spy.ObjMeta<T>
Type parameters
Name | Constraints | Description |
---|---|---|
T | undocumented | |
A | any[] | undocumented |
Properties
callSequence
Returns an array containing a sequence of the object methods called and the given parameters.
callSequence
constructorArgs
The arguments used to construct the instance.
constructorArgs
Definition
readonly constructorArgs: A;
nrCalls
Returns the amount of calls that the object methods received.
nrCalls
Methods
clearAll
Empties both the spied objects' call sequence and its method call histories.
clearAll
clearCallSequence
Empties this spied objects' callSequence.
clearCallSequence
clearMethods
Empties for each method its call history.
clearMethods
resetMethodStubs
Resets the stub implementations for all object methods.
resetMethodStubs