import { makeAppObjectRepo } from "@vived/core";
import { SelectAppObjectUCMock } from "../Mocks/SelectAppObjectUCMock";
import { selectAppObject } from "./selectAppObject";
export function makeTestRig() {
    const appObjects = makeAppObjectRepo();
    const mockUC = new SelectAppObjectUCMock(appObjects.getOrCreate("AppObj1"));
    return { appObjects, mockUC };
}
describe("Set Hover On App Object Controller", () => {
    it("Calls the UC", () => {
        const { appObjects, mockUC } = makeTestRig();
        selectAppObject("AppObj1", appObjects);
        expect(mockUC.selectAppObject).toHaveBeenCalledWith("AppObj1", true);
    });
});
//# sourceMappingURL=selectAppObject.test.js.map