import { makeAppObjectRepo } from "@vived/core";
import { Environments } from "../Entities/Environment";
import { makeSetTexturalEnvironmentUcMock } from "../Mocks/SetTexturalEnvironmentUcMock";
import { setTexturalEnvironment } from "./setTexturalEnvironment";
function makeTestRig() {
    const appObjects = makeAppObjectRepo();
    const mockUC = 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();
        setTexturalEnvironment(Environments.FOREST, appObjects);
        expect(mockUC.setEnvironment).toHaveBeenCalledWith(Environments.FOREST);
    });
});
//# sourceMappingURL=setTexturalEnvironment.test.js.map