Example #1
0
  @Override
  protected void before() throws Throwable {
    String connectionPropsLocation = getConnectionPropertiesLocation();
    ldapTestConfiguration = LDAPTestConfiguration.readConfiguration(connectionPropsLocation);

    if (ldapTestConfiguration.isStartEmbeddedLdapLerver()) {
      ldapEmbeddedServer = createServer();
      ldapEmbeddedServer.init();
      ldapEmbeddedServer.start();
    }
  }