@johanblumenberg/ts-mockito
Version:
Mocking library for TypeScript
13 lines (12 loc) • 386 B
TypeScript
import { MethodStub } from "./MethodStub";
export declare class CallThroughMethodStub implements MethodStub {
private instance;
private method;
private result;
constructor(instance: any, method: Function);
isOneshot(): boolean;
getGroupIndex(): number;
isApplicable(args: any[]): boolean;
execute(args: any[], thisArg: any): void;
getValue(): any;
}