"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("@vived/core");
const SetEnvironmentIntensityUcMock_1 = require("../Mocks/SetEnvironmentIntensityUcMock");
const submitEnvironmentIntensity_1 = require("./submitEnvironmentIntensity");
function makeTestRig() {
    const appObjects = (0, core_1.makeAppObjectRepo)();
    const mockUC = (0, SetEnvironmentIntensityUcMock_1.makeSetEnvironmentIntensityUcMock)(appObjects);
    return { appObjects, mockUC };
}
describe("Submit Environmental Intensity", () => {
    it("Calls Submit", () => {
        const { mockUC, appObjects } = makeTestRig();
        (0, submitEnvironmentIntensity_1.submitEnvironmentIntensity)(appObjects);
        expect(mockUC.submit).toHaveBeenCalledWith();
    });
});
//# sourceMappingURL=submitEnvironmentIntensity.test.js.map