import { makeAppObjectRepo } from "@vived/core";
import { makeSetEnvironmentIntensityUcMock } from "../Mocks/SetEnvironmentIntensityUcMock";
import { submitEnvironmentIntensity } from "./submitEnvironmentIntensity";
function makeTestRig() {
    const appObjects = makeAppObjectRepo();
    const mockUC = makeSetEnvironmentIntensityUcMock(appObjects);
    return { appObjects, mockUC };
}
describe("Submit Environmental Intensity", () => {
    it("Calls Submit", () => {
        const { mockUC, appObjects } = makeTestRig();
        submitEnvironmentIntensity(appObjects);
        expect(mockUC.submit).toHaveBeenCalledWith();
    });
});
//# sourceMappingURL=submitEnvironmentIntensity.test.js.map