dto.setName("Test Post");
dto.setConnectionInfo(this.buildConnectionInfoDTO());
dto.setUserAndGroupConfig(this.buildUserAndGroupAuthConfigurationDTO());
Request request = this.buildRequest();
LdapServerRequest postResult = (LdapServerRequest) pr.post(null, request, null, ldapServerRequest);
// we need to update the ID in the original, because it was set on the server
Assert.assertNotNull(postResult.getData().getId());
dto.setId(postResult.getData().getId());