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