"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("@vived/core");
const MockAppRenderingUC_1 = require("../Mocks/MockAppRenderingUC");
const AppRenderingUC_1 = require("./AppRenderingUC");
function makeTestRig() {
    const appObjects = (0, core_1.makeAppObjectRepo)();
    const app = appObjects.getOrCreate("App");
    const mockRenderApp = new MockAppRenderingUC_1.MockAppRenderingUC(app);
    return {
        appObjects,
        mockRenderApp,
    };
}
describe("Render Canvas UC", () => {
    it("Gets the UC", () => {
        const { mockRenderApp, appObjects } = makeTestRig();
        expect(AppRenderingUC_1.AppRenderingUC.get(appObjects)).toEqual(mockRenderApp);
    });
});
//# sourceMappingURL=AppRenderingUC.test.js.map