"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.makeTestRig = makeTestRig;
const core_1 = require("@vived/core");
const SelectAppObjectUCMock_1 = require("../Mocks/SelectAppObjectUCMock");
const selectAppObject_1 = require("./selectAppObject");
function makeTestRig() {
    const appObjects = (0, core_1.makeAppObjectRepo)();
    const mockUC = new SelectAppObjectUCMock_1.SelectAppObjectUCMock(appObjects.getOrCreate("AppObj1"));
    return { appObjects, mockUC };
}
describe("Set Hover On App Object Controller", () => {
    it("Calls the UC", () => {
        const { appObjects, mockUC } = makeTestRig();
        (0, selectAppObject_1.selectAppObject)("AppObj1", appObjects);
        expect(mockUC.selectAppObject).toHaveBeenCalledWith("AppObj1", true);
    });
});
//# sourceMappingURL=selectAppObject.test.js.map