test_class.declarator: configurer = new MicroserverConfigurer()
test_class.original_string: MicroserverConfigurer configurer = new MicroserverConfigurer();
test_class.type: MicroserverConfigurer
test_class.var_name: configurer
test_class.file: micro-core/src/test/java/com/oath/micro/server/config/MicroserverConfigurerTest.java
test_class.identifier: MicroserverConfigurerTest
test_case.body: @Test
  	public void circularReferences() {
  		Config config = configurer.buildConfig(MicroserverConfigurerTest.class);
  		assertFalse(config.isAllowCircularReferences());
  		config = configurer.buildConfig(MicroserverConfigurerTest.class).withAllowCircularReferences(true);
  
  		assertTrue(config.isAllowCircularReferences());
  
  	}
test_case.class_method_signature: MicroserverConfigurerTest.circularReferences()
test_case.full_signature: @Test public void circularReferences()
test_case.identifier: circularReferences
test_case.invocations: buildConfig assertFalse isAllowCircularReferences withAllowCircularReferences buildConfig assertTrue isAllowCircularReferences
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void circularReferences()
focal_class.file: micro-core/src/main/java/com/oath/micro/server/config/MicroserverConfigurer.java
focal_class.identifier: MicroserverConfigurer
focal_class.interfaces: implements Configurer
focal_class.class_method_signature: MicroserverConfigurer.buildConfig(Class class1)
focal_class.full_signature: public Config buildConfig(Class class1)
focal_class.identifier: buildConfig
focal_class.modifiers: public
focal_class.parameters: (Class class1)
focal_class.return: Config
focal_class.signature: Config buildConfig(Class class1)
focal_class.class_method_signature: MicroserverConfigurer.buildProperties(Microserver microserver)
focal_class.full_signature: private Map<String, String> buildProperties(Microserver microserver)
focal_class.identifier: buildProperties
focal_class.modifiers: private
focal_class.parameters: (Microserver microserver)
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> buildProperties(Microserver microserver)
focal_class.class_method_signature: MicroserverConfigurer.buildClasses(Class class1, Microserver microserver)
focal_class.full_signature: private List<Class> buildClasses(Class class1, Microserver microserver)
focal_class.identifier: buildClasses
focal_class.modifiers: private
focal_class.parameters: (Class class1, Microserver microserver)
focal_class.return: List<Class>
focal_class.signature: List<Class> buildClasses(Class class1, Microserver microserver)
focal_method.body: public Config buildConfig(Class class1) {
  		Microserver microserver = (Microserver) class1.getAnnotation(Microserver.class);
  		
  		 
  		if (microserver == null){
  			microserver = Microserver.Instance.class.getAnnotation(Microserver.class);
  			
  		}
  		String[] basePackages=microserver.basePackages();
  		if(basePackages.length==0){
  			String[] basePackagesFromClass ={class1.getPackage().getName()};
  			basePackages = basePackagesFromClass;
  		}
  		
  		List<Class> classes = buildClasses(class1, microserver);
  
  		Map<String, String> properties = buildProperties(microserver);
  
  		return Config.instance().withBasePackages(basePackages).withEntityScan(microserver.entityScan()).withClasses(cyclops.data.HashSet.fromIterable(classes))
  				.withPropertiesName(microserver.propertiesName()).withInstancePropertiesName(microserver.instancePropertiesName())
  				.withServiceTypePropertiesName(microserver.serviceTypePropertiesName())
  				.withAllowCircularReferences(microserver.allowCircularDependencies()).withProperties(HashMap.fromMap(properties)).set();
  	}
focal_method.class_method_signature: MicroserverConfigurer.buildConfig(Class class1)
focal_method.full_signature: public Config buildConfig(Class class1)
focal_method.identifier: buildConfig
focal_method.invocations: getAnnotation getAnnotation basePackages getName getPackage buildClasses buildProperties set withProperties withAllowCircularReferences withServiceTypePropertiesName withInstancePropertiesName withPropertiesName withClasses withEntityScan withBasePackages instance entityScan fromIterable propertiesName instancePropertiesName serviceTypePropertiesName allowCircularDependencies fromMap
focal_method.modifiers: public
focal_method.parameters: (Class class1)
focal_method.return: Config
focal_method.signature: Config buildConfig(Class class1)