test_class.declarator: CF_CLOUD_APP_ENV = "VCAP_APPLICATION={}"
test_class.modifier: private static
test_class.original_string: private static String CF_CLOUD_APP_ENV = "VCAP_APPLICATION={}";
test_class.type: String
test_class.var_name: CF_CLOUD_APP_ENV
test_class.declarator: CF_VCAP_SERVICES_OTHER = "VCAP_SERVICES={ otherService: [ { id: '1' } , { id: '2' } ]}"
test_class.modifier: private static
test_class.original_string: private static String CF_VCAP_SERVICES_OTHER = "VCAP_SERVICES={ otherService: [ { id: '1' } , { id: '2' } ]}";
test_class.type: String
test_class.var_name: CF_VCAP_SERVICES_OTHER
test_class.declarator: beanClassName
test_class.modifier: @Parameter(0) public
test_class.original_string: @Parameter(0) public String beanClassName;
test_class.type: String
test_class.var_name: beanClassName
test_class.declarator: beanClass
test_class.modifier: @Parameter(1) public
test_class.original_string: @Parameter(1) public Class<T> beanClass;
test_class.type: Class<T>
test_class.var_name: beanClass
test_class.file: solace-jms-spring-boot-autoconfigure/src/test/java/com/solace/spring/boot/autoconfigure/SolaceJmsAutoCloudConfigurationTest.java
test_class.identifier: SolaceJmsAutoCloudConfigurationTest
test_class.superclass: extends SolaceJmsAutoConfigurationTestBase
test_case.body: @Test
          public void isCloudConfiguredByUserProvidedServices() {
  
                  makeCloudEnv();
  
                  String JSONString = addOneUserProvidedSolaceService("VCAP_SERVICES");
                  String CF_VCAP_SERVICES = "VCAP_SERVICES={ \"user-provided\": [" + JSONString + "] }";
  
                  load(CF_CLOUD_APP_ENV, CF_VCAP_SERVICES);
  
                  Environment env = context.getEnvironment();
  
                  String VCAP_APPLICATION = env.getProperty("VCAP_APPLICATION");
                  assertNotNull(VCAP_APPLICATION);
                  assertEquals("{}", VCAP_APPLICATION);
  
                  String VCAP_SERVICES = env.getProperty("VCAP_SERVICES");
                  assertNotNull(VCAP_SERVICES);
                  assertTrue(VCAP_SERVICES.contains("solace-pubsub"));
  
                  validateBackwardsCompatibility();
  
                  T bean = this.context.getBean(beanClass);
                  assertNotNull(bean);
  
                  if (beanClass.equals(SpringSolJmsConnectionFactoryCloudFactory.class)) {
                      SpringSolJmsConnectionFactoryCloudFactory springSolConnectionFactoryCloudFactory = (SpringSolJmsConnectionFactoryCloudFactory) bean;
                      assertNotNull(springSolConnectionFactoryCloudFactory.getSolConnectionFactory());
                      List<SolaceServiceCredentials> availableServices = springSolConnectionFactoryCloudFactory
                              .getSolaceServiceCredentials();
                      assertNotNull(availableServices);
                      assertEquals(1, availableServices.size());
                  }
          }
test_case.class_method_signature: SolaceJmsAutoCloudConfigurationTest.isCloudConfiguredByUserProvidedServices()
test_case.full_signature: @Test public void isCloudConfiguredByUserProvidedServices()
test_case.identifier: isCloudConfiguredByUserProvidedServices
test_case.invocations: makeCloudEnv addOneUserProvidedSolaceService load getEnvironment getProperty assertNotNull assertEquals getProperty assertNotNull assertTrue contains validateBackwardsCompatibility getBean assertNotNull equals assertNotNull getSolConnectionFactory getSolaceServiceCredentials assertNotNull assertEquals size
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void isCloudConfiguredByUserProvidedServices()
focal_class.declarator: logger = LoggerFactory.getLogger(SolaceJmsAutoCloudConfiguration.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(SolaceJmsAutoCloudConfiguration.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: cloudFactory = new CloudFactory()
focal_class.modifier: private
focal_class.original_string: private CloudFactory cloudFactory = new CloudFactory();
focal_class.type: CloudFactory
focal_class.var_name: cloudFactory
focal_class.file: solace-jms-spring-boot-autoconfigure/src/main/java/com/solace/spring/boot/autoconfigure/SolaceJmsAutoCloudConfiguration.java
focal_class.identifier: SolaceJmsAutoCloudConfiguration
focal_class.class_method_signature: SolaceJmsAutoCloudConfiguration.SolaceJmsAutoCloudConfiguration(SolaceJmsProperties properties)
focal_class.full_signature: @Autowired public  SolaceJmsAutoCloudConfiguration(SolaceJmsProperties properties)
focal_class.identifier: SolaceJmsAutoCloudConfiguration
focal_class.modifiers: @Autowired public
focal_class.parameters: (SolaceJmsProperties properties)
focal_class.signature:  SolaceJmsAutoCloudConfiguration(SolaceJmsProperties properties)
focal_class.class_method_signature: SolaceJmsAutoCloudConfiguration.findFirstSolaceServiceCredentialsImpl()
focal_class.full_signature: @Override SolaceServiceCredentials findFirstSolaceServiceCredentialsImpl()
focal_class.identifier: findFirstSolaceServiceCredentialsImpl
focal_class.modifiers: @Override
focal_class.parameters: ()
focal_class.return: SolaceServiceCredentials
focal_class.signature: SolaceServiceCredentials findFirstSolaceServiceCredentialsImpl()
focal_class.class_method_signature: SolaceJmsAutoCloudConfiguration.findFirstSolaceMessagingInfo()
focal_class.full_signature: @Deprecated @Bean @Primary public SolaceMessagingInfo findFirstSolaceMessagingInfo()
focal_class.identifier: findFirstSolaceMessagingInfo
focal_class.modifiers: @Deprecated @Bean @Primary public
focal_class.parameters: ()
focal_class.return: SolaceMessagingInfo
focal_class.signature: SolaceMessagingInfo findFirstSolaceMessagingInfo()
focal_class.class_method_signature: SolaceJmsAutoCloudConfiguration.getSolaceServiceCredentials()
focal_class.full_signature: @Override public List<SolaceServiceCredentials> getSolaceServiceCredentials()
focal_class.identifier: getSolaceServiceCredentials
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<SolaceServiceCredentials>
focal_class.signature: List<SolaceServiceCredentials> getSolaceServiceCredentials()
focal_class.class_method_signature: SolaceJmsAutoCloudConfiguration.getSolaceMessagingInfos()
focal_class.full_signature: @Deprecated @Override public List<SolaceMessagingInfo> getSolaceMessagingInfos()
focal_class.identifier: getSolaceMessagingInfos
focal_class.modifiers: @Deprecated @Override public
focal_class.parameters: ()
focal_class.return: List<SolaceMessagingInfo>
focal_class.signature: List<SolaceMessagingInfo> getSolaceMessagingInfos()
focal_class.superclass: extends SolaceJmsAutoConfigurationBase
focal_method.body: @Override
  	public List<SolaceServiceCredentials> getSolaceServiceCredentials() {
  		return new ArrayList<SolaceServiceCredentials>(getSolaceMessagingInfos());
  	}
focal_method.class_method_signature: SolaceJmsAutoCloudConfiguration.getSolaceServiceCredentials()
focal_method.full_signature: @Override public List<SolaceServiceCredentials> getSolaceServiceCredentials()
focal_method.identifier: getSolaceServiceCredentials
focal_method.invocations: getSolaceMessagingInfos
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: List<SolaceServiceCredentials>
focal_method.signature: List<SolaceServiceCredentials> getSolaceServiceCredentials()