"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("@vived/core");
const DeleteLandmarkUcMock_1 = require("../Mocks/DeleteLandmarkUcMock");
const deleteLandmark_1 = require("./deleteLandmark");
function makeTestRig() {
    const appObjects = (0, core_1.makeAppObjectRepo)();
    const mockUC = new DeleteLandmarkUcMock_1.DeleteLandmarkUcMock(appObjects.getOrCreate("landmarkId"));
    return {
        appObjects,
        mockUC,
    };
}
describe("Delete Callout Controller", () => {
    it("Calls the uc", () => {
        const { appObjects, mockUC } = makeTestRig();
        (0, deleteLandmark_1.deleteLandmark)("landmarkId", appObjects);
        expect(mockUC.deleteLandmark).toHaveBeenCalled();
    });
});
//# sourceMappingURL=deleteLandmark.test.js.map