"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("@vived/core");
const ToggleLabelDropTargetUcMock_1 = require("../Mocks/ToggleLabelDropTargetUcMock");
const toggleLabelDropItemTarget_1 = require("./toggleLabelDropItemTarget");
function makeTestRig() {
    const appObjects = (0, core_1.makeAppObjectRepo)();
    const mockUC = (0, ToggleLabelDropTargetUcMock_1.makeToggleLabelDropTargetUcMock)(appObjects);
    return { appObjects, mockUC };
}
describe("Add Label Drop Correct Object", () => {
    it("Sets the ID of the label drop answer in the entity", () => {
        const { mockUC, appObjects } = makeTestRig();
        (0, toggleLabelDropItemTarget_1.toggleLabelDropItemTarget)("target1", appObjects);
        expect(mockUC.toggleByID).toHaveBeenCalledWith("target1");
    });
});
//# sourceMappingURL=toggleLabelDropItemTarget.test.js.map