@johanblumenberg/ts-mockito
Version:
Mocking library for TypeScript
18 lines (17 loc) • 505 B
TypeScript
import { MethodToStub } from "./MethodToStub";
export declare class MethodStubVerificator<T> {
private methodToVerify;
private actualCalls;
constructor(methodToVerify: MethodToStub);
called(): void;
never(): void;
once(): void;
twice(): void;
thrice(): void;
times(value: number): void;
atLeast(value: number): void;
atMost(value: number): void;
calledBefore(method: any): void;
calledAfter(method: any): void;
timeout(ms: number): Promise<void>;
}