import { makeAppObjectRepo } from "@vived/core";
import { StickUCMock } from "../Mocks/StickUCMock";
import { clickStick } from "./clickStick";
function makeTestRig() {
    const appObjects = makeAppObjectRepo();
    const uc = new StickUCMock(appObjects.getOrCreate("AppObj1"));
    return { uc, appObjects };
}
describe("Click Stick Controller", () => {
    it("Triggers the UC", () => {
        const { uc, appObjects } = makeTestRig();
        clickStick("AppObj1", appObjects);
        expect(uc.doStick).toHaveBeenCalled();
    });
});
//# sourceMappingURL=clickStick.test.js.map