import { makeAppObjectRepo } from "@vived/core";
import { makeRestoreStoredViewUcMock } from "../Mocks/RestoreStoredViewUcMock";
import { restoreStoredView } from "./restoreStoredView";
function makeTestRig() {
    const appObjects = makeAppObjectRepo();
    const uc = makeRestoreStoredViewUcMock(appObjects);
    return { appObjects, uc };
}
describe("Restore Stored View", () => {
    it("Calls the UC", () => {
        const { appObjects, uc } = makeTestRig();
        restoreStoredView(appObjects);
        expect(uc.restoreStoredView).toHaveBeenCalled();
    });
});
//# sourceMappingURL=restoreStoredView.test.js.map