interface Stub implements Spy<Self, Args, Return>import { type Stub } from "https://deno.land/std@0.207.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.