import { makeAppObjectRepo } from "@vived/core";
import { makeToggleLabelDropTargetUcMock } from "../Mocks/ToggleLabelDropTargetUcMock";
import { toggleLabelDropItemTarget } from "./toggleLabelDropItemTarget";
function makeTestRig() {
    const appObjects = makeAppObjectRepo();
    const mockUC = 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();
        toggleLabelDropItemTarget("target1", appObjects);
        expect(mockUC.toggleByID).toHaveBeenCalledWith("target1");
    });
});
//# sourceMappingURL=toggleLabelDropItemTarget.test.js.map