import { makeAppObjectRepo } from "@vived/core";
import { HideUCMock } from "../Mocks/HideUCMock";
import { clickToggleIsHidden } from "./clickToggleIsHidden";
function makeTestRig() {
    const appObjects = makeAppObjectRepo();
    const mockUC = new HideUCMock(appObjects.getOrCreate("AppObj"));
    return { mockUC, appObjects };
}
describe("Click Toggle Is Hidden", () => {
    it("Calls the UC", () => {
        const { mockUC, appObjects } = makeTestRig();
        clickToggleIsHidden("AppObj", appObjects);
        expect(mockUC.toggleIsHidden).toHaveBeenCalled();
    });
});
//# sourceMappingURL=clickToggleIsHidden.test.js.map