Skip to main content

interface Spy.ClsObjMeta<T,A>

undocumented

Extends: Spy.ObjMeta<T>

Type parameters

NameConstraintsDescription
Tundocumented
Aany[]undocumented

Properties

callSequence

Returns an array containing a sequence of the object methods called and the given parameters.

Definition

get callSequence(): Spy.MethodCall<T>[];

Overrides

ObjMeta.callSequence

constructorArgs

The arguments used to construct the instance.

Definition

readonly constructorArgs: A;

nrCalls

Returns the amount of calls that the object methods received.

Definition

get nrCalls(): number;

Overrides

ObjMeta.nrCalls

Methods

clearAll

Empties both the spied objects' call sequence and its method call histories.

Definition

clearAll(): void;

Overrides

ObjMeta.clearAll

clearCallSequence

Empties this spied objects' callSequence.

Definition

clearCallSequence(): void;

Overrides

ObjMeta.clearCallSequence

clearMethods

Empties for each method its call history.

Definition

clearMethods(): void;

Overrides

ObjMeta.clearMethods

resetMethodStubs

Resets the stub implementations for all object methods.

Definition

resetMethodStubs(): void;

Overrides

ObjMeta.resetMethodStubs