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