interface Stub implements Spy<Self, Args, Return>import { type Stub } from "https://dotland.deno.dev/std@0.181.0/testing/mock.ts"; An instance method replacement that records all calls made to it. Type ParametersoptionalSelf = anyoptionalArgs extends unknown[] = any[]optionalReturn = anyPropertiesfake: (this: Self, ...args: Args) => ReturnThe function that is used instead of the original.