"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("@vived/core");
const HideUCMock_1 = require("../Mocks/HideUCMock");
const clickToggleIsHidden_1 = require("./clickToggleIsHidden");
function makeTestRig() {
    const appObjects = (0, core_1.makeAppObjectRepo)();
    const mockUC = new HideUCMock_1.HideUCMock(appObjects.getOrCreate("AppObj"));
    return { mockUC, appObjects };
}
describe("Click Toggle Is Hidden", () => {
    it("Calls the UC", () => {
        const { mockUC, appObjects } = makeTestRig();
        (0, clickToggleIsHidden_1.clickToggleIsHidden)("AppObj", appObjects);
        expect(mockUC.toggleIsHidden).toHaveBeenCalled();
    });
});
//# sourceMappingURL=clickToggleIsHidden.test.js.map