public static Builder newBuilder() {
        return new Builder();
    }
@Test
    public void testBuildSessionEnvironment() {
        String sessionName = "test";

        Map<String, String> configMap = new HashMap<>();
        configMap.put("key1", "value1");
        configMap.put("key2", "value2");

        SessionEnvironment expectedEnvironment =
                new SessionEnvironment(
                        sessionName,
                        MockedEndpointVersion.V1,
                        new HashMap<>(),
                        new HashMap<>(),
                        "default",
                        configMap);

        SessionEnvironment actualEnvironment =
                SessionEnvironment.newBuilder()
                        .setSessionName(sessionName)
                        .setSessionEndpointVersion(MockedEndpointVersion.V1)
                        .addSessionConfig(configMap)
                        .setDefaultCatalog("default")
                        .build();
        assertEquals(expectedEnvironment, actualEnvironment);
    }