interface Stub extends Spy<Self, Args, Return>View codeAn instance method replacement that records all calls made to it. Type ParametersSelf = anyView codeArgs extends unknown[] = any[]View codeReturn = anyView codePropertiesfake: (this: Self,...args: Args) => ReturnView codeThe function that is used instead of the original.