import { type IMethodChanger } from "https://deno.land/x/rhum@v2.2.0/src/interfaces.ts";
Methods
willReturn(action: (...args: unknown[]) => ReturnValue): void
Pre-program a method to return (and call) the following action.
willThrow<T>(error: IError & T): void
Pre-program this method to throw the given error.