import { makeAppObjectRepo } from "@vived/core";
import { DeleteLandmarkUcMock } from "../Mocks/DeleteLandmarkUcMock";
import { deleteLandmark } from "./deleteLandmark";
function makeTestRig() {
    const appObjects = makeAppObjectRepo();
    const mockUC = new DeleteLandmarkUcMock(appObjects.getOrCreate("landmarkId"));
    return {
        appObjects,
        mockUC,
    };
}
describe("Delete Callout Controller", () => {
    it("Calls the uc", () => {
        const { appObjects, mockUC } = makeTestRig();
        deleteLandmark("landmarkId", appObjects);
        expect(mockUC.deleteLandmark).toHaveBeenCalled();
    });
});
//# sourceMappingURL=deleteLandmark.test.js.map