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