"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("@vived/core");
const EditLabelDropUcMock_1 = require("../Mocks/EditLabelDropUcMock");
const editLabelDropAnswerItem_1 = require("./editLabelDropAnswerItem");
function makeTestRig() {
    const appObjects = (0, core_1.makeAppObjectRepo)();
    const mockUC = (0, EditLabelDropUcMock_1.makeEditLabelDropUcMock)(appObjects);
    return { appObjects, mockUC };
}
describe("Edit Label Drop Answer Item", () => {
    it("Sets the ID of the label drop answer in the entity", () => {
        const { mockUC, appObjects } = makeTestRig();
        (0, editLabelDropAnswerItem_1.editLabelDropAnswerItem)("labelDropTestID", appObjects);
        expect(mockUC.start).toHaveBeenCalledWith("labelDropTestID");
    });
});
//# sourceMappingURL=editLabelDropAnswerItem.test.js.map