"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("@vived/core");
const StickUCMock_1 = require("../Mocks/StickUCMock");
const clickStick_1 = require("./clickStick");
function makeTestRig() {
    const appObjects = (0, core_1.makeAppObjectRepo)();
    const uc = new StickUCMock_1.StickUCMock(appObjects.getOrCreate("AppObj1"));
    return { uc, appObjects };
}
describe("Click Stick Controller", () => {
    it("Triggers the UC", () => {
        const { uc, appObjects } = makeTestRig();
        (0, clickStick_1.clickStick)("AppObj1", appObjects);
        expect(uc.doStick).toHaveBeenCalled();
    });
});
//# sourceMappingURL=clickStick.test.js.map