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

Jean-Noël Rouvignac
04.30.2016 470936255a009dd659e3736df92ce1a6c2767362
opendj-server-legacy/src/test/java/org/opends/server/ServerContextBuilder.java
@@ -78,12 +78,12 @@
   * Ensure that configuration is fully bootstrapped. Only use when necessary as
   * it will impact test performance.
   */
  public ServerContextBuilder withConfigurationBootstrapped()
      throws InitializationException
  public ServerContextBuilder withConfigurationBootstrapped() throws InitializationException
  {
    final ConfigurationHandler configHandler = ConfigurationHandler.bootstrapConfiguration(serverContext);
    final ServerManagementContext serverManagementContext = new ServerManagementContext(configHandler);
    when(serverContext.getServerManagementContext()).thenReturn(serverManagementContext);
    when(serverContext.getRootConfig()).thenReturn(serverManagementContext.getRootConfiguration());
    return this;
  }