test_class.declarator: sp = new InternalSecurityProvider()
test_class.modifier: private final
test_class.original_string: private final SecurityProvider sp = new InternalSecurityProvider();
test_class.type: SecurityProvider
test_class.var_name: sp
test_class.declarator: params = ConfigurationParameters.of("key", "value")
test_class.modifier: private final
test_class.original_string: private final ConfigurationParameters params = ConfigurationParameters.of("key", "value");
test_class.type: ConfigurationParameters
test_class.var_name: params
test_class.declarator: rootProvider = Mockito.mock(RootProvider.class)
test_class.modifier: private final
test_class.original_string: private final RootProvider rootProvider = Mockito.mock(RootProvider.class);
test_class.type: RootProvider
test_class.var_name: rootProvider
test_class.declarator: treeProvider = Mockito.mock(TreeProvider.class)
test_class.modifier: private final
test_class.original_string: private final TreeProvider treeProvider = Mockito.mock(TreeProvider.class);
test_class.type: TreeProvider
test_class.var_name: treeProvider
test_class.file: oak-core/src/test/java/org/apache/jackrabbit/oak/security/internal/ConfigurationInitializerTest.java
test_class.identifier: ConfigurationInitializerTest
test_case.body: @Test
      public void testInitBaseConfiguration() {
          TestConfiguration sc = new TestConfiguration();
  
          SecurityConfiguration afterInit = ConfigurationInitializer.initializeConfiguration(sc, sp, rootProvider, treeProvider);
          assertSame(sc, afterInit);
  
          // verify securityprovider
          assertSame(sp, sc.getSecurityProvider());
  
          // verify params
          ConfigurationParameters parameters = afterInit.getParameters();
          assertTrue(parameters.containsKey("key"));
          assertTrue(parameters.containsKey("key2"));
          assertEquals("initialValue", parameters.get("key"));
          assertEquals("initialValue", parameters.get("key2"));
      }
test_case.class_method_signature: ConfigurationInitializerTest.testInitBaseConfiguration()
test_case.full_signature: @Test public void testInitBaseConfiguration()
test_case.identifier: testInitBaseConfiguration
test_case.invocations: initializeConfiguration assertSame assertSame getSecurityProvider getParameters assertTrue containsKey assertTrue containsKey assertEquals get assertEquals get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testInitBaseConfiguration()
focal_class.file: oak-core/src/main/java/org/apache/jackrabbit/oak/security/internal/ConfigurationInitializer.java
focal_class.identifier: ConfigurationInitializer
focal_class.class_method_signature: ConfigurationInitializer.ConfigurationInitializer()
focal_class.full_signature: private  ConfigurationInitializer()
focal_class.identifier: ConfigurationInitializer
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ConfigurationInitializer()
focal_class.class_method_signature: ConfigurationInitializer.initializeConfiguration(@NotNull T configuration, @NotNull SecurityProvider securityProvider, @NotNull RootProvider rootProvider, @NotNull TreeProvider treeProvider)
focal_class.full_signature: @NotNull static T initializeConfiguration(@NotNull T configuration, @NotNull SecurityProvider securityProvider, @NotNull RootProvider rootProvider, @NotNull TreeProvider treeProvider)
focal_class.identifier: initializeConfiguration
focal_class.modifiers: @NotNull static
focal_class.parameters: (@NotNull T configuration, @NotNull SecurityProvider securityProvider, @NotNull RootProvider rootProvider, @NotNull TreeProvider treeProvider)
focal_class.return: T
focal_class.signature: T initializeConfiguration(@NotNull T configuration, @NotNull SecurityProvider securityProvider, @NotNull RootProvider rootProvider, @NotNull TreeProvider treeProvider)
focal_class.class_method_signature: ConfigurationInitializer.initializeConfiguration(@NotNull T configuration, @NotNull SecurityProvider securityProvider, @NotNull ConfigurationParameters parameters, @NotNull RootProvider rootProvider, @NotNull TreeProvider treeProvider)
focal_class.full_signature: @NotNull static T initializeConfiguration(@NotNull T configuration, @NotNull SecurityProvider securityProvider, @NotNull ConfigurationParameters parameters, @NotNull RootProvider rootProvider, @NotNull TreeProvider treeProvider)
focal_class.identifier: initializeConfiguration
focal_class.modifiers: @NotNull static
focal_class.parameters: (@NotNull T configuration, @NotNull SecurityProvider securityProvider, @NotNull ConfigurationParameters parameters, @NotNull RootProvider rootProvider, @NotNull TreeProvider treeProvider)
focal_class.return: T
focal_class.signature: T initializeConfiguration(@NotNull T configuration, @NotNull SecurityProvider securityProvider, @NotNull ConfigurationParameters parameters, @NotNull RootProvider rootProvider, @NotNull TreeProvider treeProvider)
focal_class.class_method_signature: ConfigurationInitializer.initializeConfigurations(@NotNull CompositeConfiguration<T> configuration, @NotNull SecurityProvider securityProvider,
                                           @NotNull ConfigurationParameters parameters,
                                           @NotNull RootProvider rootProvider,
                                           @NotNull TreeProvider treeProvider)
focal_class.full_signature: static void initializeConfigurations(@NotNull CompositeConfiguration<T> configuration, @NotNull SecurityProvider securityProvider,
                                           @NotNull ConfigurationParameters parameters,
                                           @NotNull RootProvider rootProvider,
                                           @NotNull TreeProvider treeProvider)
focal_class.identifier: initializeConfigurations
focal_class.modifiers: static
focal_class.parameters: (@NotNull CompositeConfiguration<T> configuration, @NotNull SecurityProvider securityProvider,
                                           @NotNull ConfigurationParameters parameters,
                                           @NotNull RootProvider rootProvider,
                                           @NotNull TreeProvider treeProvider)
focal_class.return: void
focal_class.signature: void initializeConfigurations(@NotNull CompositeConfiguration<T> configuration, @NotNull SecurityProvider securityProvider,
                                           @NotNull ConfigurationParameters parameters,
                                           @NotNull RootProvider rootProvider,
                                           @NotNull TreeProvider treeProvider)
focal_method.body: @NotNull
      static <T extends SecurityConfiguration> T initializeConfiguration(@NotNull T configuration, @NotNull SecurityProvider securityProvider, @NotNull RootProvider rootProvider, @NotNull TreeProvider treeProvider) {
          return initializeConfiguration(configuration, securityProvider, ConfigurationParameters.EMPTY, rootProvider, treeProvider);
      }
focal_method.class_method_signature: ConfigurationInitializer.initializeConfiguration(@NotNull T configuration, @NotNull SecurityProvider securityProvider, @NotNull RootProvider rootProvider, @NotNull TreeProvider treeProvider)
focal_method.full_signature: @NotNull static T initializeConfiguration(@NotNull T configuration, @NotNull SecurityProvider securityProvider, @NotNull RootProvider rootProvider, @NotNull TreeProvider treeProvider)
focal_method.identifier: initializeConfiguration
focal_method.invocations: initializeConfiguration
focal_method.modifiers: @NotNull static
focal_method.parameters: (@NotNull T configuration, @NotNull SecurityProvider securityProvider, @NotNull RootProvider rootProvider, @NotNull TreeProvider treeProvider)
focal_method.return: T
focal_method.signature: T initializeConfiguration(@NotNull T configuration, @NotNull SecurityProvider securityProvider, @NotNull RootProvider rootProvider, @NotNull TreeProvider treeProvider)