mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Nicolas Capponi
24.08.2015 e433824f46514e6ed863eb6b95c70038331c8c24
opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/LdapTestCase.java
@@ -26,6 +26,8 @@
 */
package org.opends.server.protocols.ldap ;
import static org.mockito.Mockito.mock;
import static org.opends.server.config.ConfigConstants.*;
import java.util.Iterator;
@@ -36,6 +38,7 @@
import org.opends.server.admin.server.AdminTestCaseUtils;
import org.opends.server.admin.std.meta.LDAPConnectionHandlerCfgDefn;
import org.opends.server.admin.std.server.LDAPConnectionHandlerCfg;
import org.opends.server.core.ServerContext;
import org.forgerock.opendj.config.server.ConfigException;
import org.opends.server.types.Attribute;
import org.opends.server.types.Attributes;
@@ -112,7 +115,7 @@
    handlerEntry.addAttribute(a, null);
    LDAPConnectionHandlerCfg config = getConfiguration(handlerEntry);
    LDAPConnectionHandler handler = new LDAPConnectionHandler();
    handler.initializeConnectionHandler(config);
    handler.initializeConnectionHandler(mock(ServerContext.class), config);
    return handler;
  }