import { makeAppObjectRepo } from "@vived/core";
import { MockAppRenderingUC } from "../Mocks/MockAppRenderingUC";
import { AppRenderingUC } from "./AppRenderingUC";
function makeTestRig() {
    const appObjects = makeAppObjectRepo();
    const app = appObjects.getOrCreate("App");
    const mockRenderApp = new MockAppRenderingUC(app);
    return {
        appObjects,
        mockRenderApp,
    };
}
describe("Render Canvas UC", () => {
    it("Gets the UC", () => {
        const { mockRenderApp, appObjects } = makeTestRig();
        expect(AppRenderingUC.get(appObjects)).toEqual(mockRenderApp);
    });
});
//# sourceMappingURL=AppRenderingUC.test.js.map