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