@johanblumenberg/ts-mockito
Version:
Mocking library for TypeScript
13 lines (12 loc) • 502 B
TypeScript
import { Matcher } from "../matcher/type/Matcher";
import { AbstractMethodStub } from "./AbstractMethodStub";
import { MethodStub } from "./MethodStub";
export declare class RejectPromiseMethodStub extends AbstractMethodStub implements MethodStub {
private matchers;
private value;
private validator;
constructor(groupIndex: number, matchers: Array<Matcher>, value: any, oneshot?: boolean);
isApplicable(args: any[]): boolean;
execute(args: any[]): void;
getValue(): any;
}