"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("@vived/core");
const RestoreStoredViewUcMock_1 = require("../Mocks/RestoreStoredViewUcMock");
const restoreStoredView_1 = require("./restoreStoredView");
function makeTestRig() {
    const appObjects = (0, core_1.makeAppObjectRepo)();
    const uc = (0, RestoreStoredViewUcMock_1.makeRestoreStoredViewUcMock)(appObjects);
    return { appObjects, uc };
}
describe("Restore Stored View", () => {
    it("Calls the UC", () => {
        const { appObjects, uc } = makeTestRig();
        (0, restoreStoredView_1.restoreStoredView)(appObjects);
        expect(uc.restoreStoredView).toHaveBeenCalled();
    });
});
//# sourceMappingURL=restoreStoredView.test.js.map