import { Mock } from "https://deno.land/x/smx@v0.6.0/tests/mock.ts";
Constructors
new
Mock(base?: Partial<T>, stubAll?)Methods
assertWasCalled<K extends keyof T>(method: K, times?): void
assertWasCalledWith<K extends keyof T>(method: K, ...args: any[]): void