"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("@vived/core");
const EditLabelDropUcMock_1 = require("../Mocks/EditLabelDropUcMock");
const saveEditLabelDropAnswer_1 = require("./saveEditLabelDropAnswer");
function makeTestRig() {
    const appObjects = (0, core_1.makeAppObjectRepo)();
    const mockUC = (0, EditLabelDropUcMock_1.makeEditLabelDropUcMock)(appObjects);
    return {
        appObjects,
        mockUC,
    };
}
describe("Save Edit Label Drop Answer", () => {
    it("Saves the changes on the edit label drop use case", () => {
        const { appObjects, mockUC } = makeTestRig();
        (0, saveEditLabelDropAnswer_1.saveEditLabelDropAnswer)(appObjects);
        expect(mockUC.finish).toHaveBeenCalled();
    });
});
//# sourceMappingURL=saveEditLabelDropAnswer.test.js.map