public static void processEnvVariables(Map<String, String> inputProperties) {
    processEnvVariables(inputProperties, System.getenv());
  }
@Test
  void shouldProcessJsonEnvVariables() {
    var inputProperties = new HashMap<String, String>();
    EnvironmentConfig.processEnvVariables(inputProperties,
      Map.of("SONAR_SCANNER_JSON_PARAMS",
        "{\"key1\":\"value1\", \"key2\":\"value2\"}"));

    assertThat(inputProperties).containsOnly(
      entry("key1", "value1"),
      entry("key2", "value2"));
  }