public String saveGitlabConfiguration(GitlabConfiguration gitlabConfiguration) {
    String body = String.format("""
        {
          "enabled": "%s",
          "applicationId": "%s",
          "url": "%s",
          "secret": "%s",
          "synchronizeGroups": "%s",
          "provisioningType": "%s",
          "allowUsersToSignUp": "%s",
          "provisioningToken": "%s",
          "allowedGroups": ["%s"]
        }
        """, gitlabConfiguration.enabled(), gitlabConfiguration.applicationId(), gitlabConfiguration.url(), gitlabConfiguration.secret(),
      gitlabConfiguration.synchronizeGroups(), gitlabConfiguration.provisioningType(), gitlabConfiguration.allowUsersToSignUp(),
      gitlabConfiguration.provisioningToken(), gitlabConfiguration.singleAllowedGroup());
    WsResponse response = call(
      new PostRequest(path()).setBody(body)
    );
    return new Gson().fromJson(response.content(), JsonObject.class).get("id").getAsString();
  }
@Test
  public void saveGitlabConfiguration_shouldNotFail() {
    when(wsConnector.call(any()).failIfNotSuccessful().content()).thenReturn("{\"id\": \"configId\"}");
    assertThatNoException().isThrownBy(() -> gitlabConfigurationService.saveGitlabConfiguration(new GitlabConfiguration(true, "appId", "url", "secret",
      true, "JIT", false, "token", "group")));
  }