test_class.declarator: ENVIRONMENT_VARIABLES = new EnvironmentVariables()
test_class.modifier: @ClassRule
      public static final
test_class.original_string: @ClassRule
      public static final EnvironmentVariables ENVIRONMENT_VARIABLES = new EnvironmentVariables();
test_class.type: EnvironmentVariables
test_class.var_name: ENVIRONMENT_VARIABLES
test_class.declarator: KNOWN_CONFIG_FILE_NAME = "/vcap_services_test.json"
test_class.modifier: private static final
test_class.original_string: private static final String KNOWN_CONFIG_FILE_NAME = "/vcap_services_test.json";
test_class.type: String
test_class.var_name: KNOWN_CONFIG_FILE_NAME
test_class.declarator: knownSystemVcapServicesString
test_class.modifier: private static
test_class.original_string: private static String knownSystemVcapServicesString;
test_class.type: String
test_class.var_name: knownSystemVcapServicesString
test_class.declarator: underTest
test_class.modifier: private
test_class.original_string: private VcapServicesStringParser underTest;
test_class.type: VcapServicesStringParser
test_class.var_name: underTest
test_class.file: services/utils/config/src/test/java/org/eclipse/ditto/services/utils/config/raw/VcapServicesStringParserTest.java
test_class.identifier: VcapServicesStringParserTest
test_case.body: @Test
      public void parseEmptyString() {
          final Config actual = underTest.apply("");
  
          assertThat(actual.isEmpty()).isTrue();
      }
test_case.class_method_signature: VcapServicesStringParserTest.parseEmptyString()
test_case.full_signature: @Test public void parseEmptyString()
test_case.identifier: parseEmptyString
test_case.invocations: apply isTrue assertThat isEmpty
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void parseEmptyString()
focal_class.declarator: VCAP_SERVICE_NAME_CONFIG_PATH = "name"
focal_class.modifier: private static final
focal_class.original_string: private static final String VCAP_SERVICE_NAME_CONFIG_PATH = "name";
focal_class.type: String
focal_class.var_name: VCAP_SERVICE_NAME_CONFIG_PATH
focal_class.declarator: INSTANCE = new VcapServicesStringParser()
focal_class.modifier: private static final
focal_class.original_string: private static final VcapServicesStringParser INSTANCE = new VcapServicesStringParser();
focal_class.type: VcapServicesStringParser
focal_class.var_name: INSTANCE
focal_class.file: services/utils/config/src/main/java/org/eclipse/ditto/services/utils/config/raw/VcapServicesStringParser.java
focal_class.identifier: VcapServicesStringParser
focal_class.interfaces: implements Function<String, Config>
focal_class.class_method_signature: VcapServicesStringParser.VcapServicesStringParser()
focal_class.full_signature: private  VcapServicesStringParser()
focal_class.identifier: VcapServicesStringParser
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  VcapServicesStringParser()
focal_class.class_method_signature: VcapServicesStringParser.getInstance()
focal_class.full_signature: static VcapServicesStringParser getInstance()
focal_class.identifier: getInstance
focal_class.modifiers: static
focal_class.parameters: ()
focal_class.return: VcapServicesStringParser
focal_class.signature: VcapServicesStringParser getInstance()
focal_class.class_method_signature: VcapServicesStringParser.apply(final String systemVcapServices)
focal_class.full_signature: @Override public Config apply(final String systemVcapServices)
focal_class.identifier: apply
focal_class.modifiers: @Override public
focal_class.parameters: (final String systemVcapServices)
focal_class.return: Config
focal_class.signature: Config apply(final String systemVcapServices)
focal_class.class_method_signature: VcapServicesStringParser.tryToParseString(final String s)
focal_class.full_signature: private static Config tryToParseString(final String s)
focal_class.identifier: tryToParseString
focal_class.modifiers: private static
focal_class.parameters: (final String s)
focal_class.return: Config
focal_class.signature: Config tryToParseString(final String s)
focal_class.class_method_signature: VcapServicesStringParser.convertConfigListToConfigObject(final ConfigValue configValue)
focal_class.full_signature: private static ConfigValue convertConfigListToConfigObject(final ConfigValue configValue)
focal_class.identifier: convertConfigListToConfigObject
focal_class.modifiers: private static
focal_class.parameters: (final ConfigValue configValue)
focal_class.return: ConfigValue
focal_class.signature: ConfigValue convertConfigListToConfigObject(final ConfigValue configValue)
focal_class.class_method_signature: VcapServicesStringParser.getAsConfigObject(final ConfigList configList)
focal_class.full_signature: private static ConfigObject getAsConfigObject(final ConfigList configList)
focal_class.identifier: getAsConfigObject
focal_class.modifiers: private static
focal_class.parameters: (final ConfigList configList)
focal_class.return: ConfigObject
focal_class.signature: ConfigObject getAsConfigObject(final ConfigList configList)
focal_class.class_method_signature: VcapServicesStringParser.getName(final ConfigObject configObject)
focal_class.full_signature: private static String getName(final ConfigObject configObject)
focal_class.identifier: getName
focal_class.modifiers: private static
focal_class.parameters: (final ConfigObject configObject)
focal_class.return: String
focal_class.signature: String getName(final ConfigObject configObject)
focal_method.body: @Override
      public Config apply(final String systemVcapServices) {
          checkNotNull(systemVcapServices, "system VCAP services string");
          if (systemVcapServices.isEmpty()) {
              return ConfigFactory.empty();
          }
  
          final Config vcapServicesConfig = tryToParseString(systemVcapServices);
          final Set<Map.Entry<String, ConfigValue>> vcapServicesConfigEntries = vcapServicesConfig.entrySet();
  
          final Map<String, Object> result = new HashMap<>(vcapServicesConfigEntries.size());
          for (final Map.Entry<String, ConfigValue> serviceConfigEntry : vcapServicesConfigEntries) {
              result.put(serviceConfigEntry.getKey(), convertConfigListToConfigObject(serviceConfigEntry.getValue()));
          }
          return ConfigFactory.parseMap(result);
      }
focal_method.class_method_signature: VcapServicesStringParser.apply(final String systemVcapServices)
focal_method.full_signature: @Override public Config apply(final String systemVcapServices)
focal_method.identifier: apply
focal_method.invocations: checkNotNull isEmpty empty tryToParseString entrySet size put getKey convertConfigListToConfigObject getValue parseMap
focal_method.modifiers: @Override public
focal_method.parameters: (final String systemVcapServices)
focal_method.return: Config
focal_method.signature: Config apply(final String systemVcapServices)