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.
callSequenceconstructorArgs
The arguments used to construct the instance.
constructorArgsDefinition
readonly constructorArgs: A;
nrCalls
Returns the amount of calls that the object methods received.
nrCallsMethods
clearAll
Empties both the spied objects' call sequence and its method call histories.
clearAllclearCallSequence
Empties this spied objects' callSequence.
clearCallSequenceclearMethods
Empties for each method its call history.
clearMethodsresetMethodStubs
Resets the stub implementations for all object methods.
resetMethodStubs