import { AppDispatcher } from "../Entities/AppDispatcher";
export class MockDispatcher extends AppDispatcher {
    constructor(appObject) {
        super(appObject, AppDispatcher.type);
        this.dispatch = jest.fn();
        this.formRequestAndDispatch = jest.fn();
    }
}
export function makeMockDispatcher(appObjects) {
    return new MockDispatcher(appObjects.getOrCreate("Dispatcher"));
}
//# sourceMappingURL=MockDispatcher.js.map