"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("@vived/core");
const Environment_1 = require("../Entities/Environment");
const SetTexturalEnvironmentUcMock_1 = require("../Mocks/SetTexturalEnvironmentUcMock");
const setTexturalEnvironment_1 = require("./setTexturalEnvironment");
function makeTestRig() {
    const appObjects = (0, core_1.makeAppObjectRepo)();
    const mockUC = (0, SetTexturalEnvironmentUcMock_1.makeSetTexturalEnvironmentUcMock)(appObjects);
    return { appObjects, mockUC };
}
describe("Add New Label Drop Answer", () => {
    it("Sets the ID of the label drop answer in the entity", () => {
        const { mockUC, appObjects } = makeTestRig();
        (0, setTexturalEnvironment_1.setTexturalEnvironment)(Environment_1.Environments.FOREST, appObjects);
        expect(mockUC.setEnvironment).toHaveBeenCalledWith(Environment_1.Environments.FOREST);
    });
});
//# sourceMappingURL=setTexturalEnvironment.test.js.map