test_class.file: ljcm-minimal-loader/src/test/java/io/github/leberkleber/ljcm/loader/impl/HierarchicalLoaderTest.java
test_class.identifier: HierarchicalLoaderTest
test_case.body: @Test
      public void builder() {
          //given
          String keyDuplicate = "test.test";
          String keyA = "testA";
          String keyB = "testB";
          Map<String, String> propertiesA = new HashMap<>();
          Map<String, String> propertiesB = new HashMap<>();
          propertiesA.put(keyDuplicate, "value.value");
          propertiesA.put(keyA, "valueA.value");
          propertiesB.put(keyDuplicate, "valueB.value");
          propertiesB.put(keyB, "valueB.value");
  
          DummyLoader dummyLoaderA = new DummyLoader(propertiesA);
          DummyLoader dummyLoaderB = new DummyLoader(propertiesB);
  
  
          //when
          ConfigurationLoader configurationLoader = new HierarchicalLoader.Builder()
                  .addLoader(dummyLoaderA)
                  .addLoader(dummyLoaderB).build();
  
          Properties properties = configurationLoader.loadConfigurations();
  
  
          //then
          assertNotNull(properties);
          assertEquals("valueB.value", properties.getProperty(keyDuplicate));
          assertEquals("valueA.value", properties.getProperty(keyA));
          assertEquals("valueB.value", properties.getProperty(keyB));
          assertNull(properties.getProperty("not found"));
      }
test_case.class_method_signature: HierarchicalLoaderTest.builder()
test_case.full_signature: @Test public void builder()
test_case.identifier: builder
test_case.invocations: put put put put build addLoader addLoader loadConfigurations assertNotNull assertEquals getProperty assertEquals getProperty assertEquals getProperty assertNull getProperty
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void builder()
focal_class.declarator: properties
focal_class.original_string: Properties properties;
focal_class.type: Properties
focal_class.var_name: properties
focal_class.file: ljcm-minimal-loader/src/main/java/io/github/leberkleber/ljcm/loader/impl/HierarchicalLoader.java
focal_class.identifier: HierarchicalLoader
focal_class.interfaces: implements ConfigurationLoader
focal_class.class_method_signature: HierarchicalLoader.HierarchicalLoader(Properties properties)
focal_class.full_signature: private  HierarchicalLoader(Properties properties)
focal_class.identifier: HierarchicalLoader
focal_class.modifiers: private
focal_class.parameters: (Properties properties)
focal_class.signature:  HierarchicalLoader(Properties properties)
focal_class.class_method_signature: HierarchicalLoader.loadConfigurations()
focal_class.full_signature: @Override public Properties loadConfigurations()
focal_class.identifier: loadConfigurations
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Properties
focal_class.signature: Properties loadConfigurations()
focal_method.body: @Override
      public Properties loadConfigurations() {
          return properties;
      }
focal_method.class_method_signature: HierarchicalLoader.loadConfigurations()
focal_method.full_signature: @Override public Properties loadConfigurations()
focal_method.identifier: loadConfigurations
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Properties
focal_method.signature: Properties loadConfigurations()