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