InitialContextInitializer context =
(InitialContextInitializer)container.getComponentInstanceOfType(InitialContextInitializer.class);
String defaultRepositoryName = repositoryService.getConfig().getDefaultRepositoryName();
TesterRepositoryServiceConfigurationImpl repositoryServiceConfiguration =
new TesterRepositoryServiceConfigurationImpl(new RepositoryServiceConfigurationImpl(params, configManager,
context));
repositoryServiceConfiguration.setDefaultRepositoryName(defaultRepositoryName);
File configPath = repositoryServiceConfiguration.getContentPath();