import { makeAppObjectRepo } from "@vived/core";
import { makeChannelModelRepo } from "../Entities/ChannelModelRepo";
import { UnhideAllChannelModelObjectsUCMock } from "../Mocks/UnhideAllChannelModelObjectsUCMock";
import { unhideAllActiveObjects } from "./unhideAllActiveObjects";
function makeTestRig() {
    const appObjects = makeAppObjectRepo();
    const repo = makeChannelModelRepo(appObjects.getOrCreate("Repo"));
    const uc = new UnhideAllChannelModelObjectsUCMock(appObjects.getOrCreate("aModel"));
    repo.activeModel = "aModel";
    return { appObjects, repo, uc };
}
describe("Unhides all Active Model Objects Controller", () => {
    it("Triggers the UC", () => {
        const { uc, appObjects } = makeTestRig();
        unhideAllActiveObjects(appObjects);
        expect(uc.unhideAll).toHaveBeenCalled();
    });
});
//# sourceMappingURL=unhideAllActiveObjects.test.js.map