test_class.file: micro-core/src/test/java/com/oath/micro/server/module/MicroserverEnvironmentTest.java
test_class.identifier: MicroserverEnvironmentTest
test_case.body: @Test
  	public void testGetModuleBean() {
  		MicroserverEnvironment microserverEnvironment = new MicroserverEnvironment(new Properties(),
  				Arrays.asList(new ModuleBean(8081, "host1", () -> "test")));
  		assertThat(microserverEnvironment.getModuleBean(()-> "test").getPort(), is(8081));
  	}
test_case.class_method_signature: MicroserverEnvironmentTest.testGetModuleBean()
test_case.full_signature: @Test public void testGetModuleBean()
test_case.identifier: testGetModuleBean
test_case.invocations: asList assertThat getPort getModuleBean is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetModuleBean()
focal_class.declarator: modulePort
focal_class.modifier: private volatile
focal_class.original_string: private volatile PersistentMap<String, ModuleBean> modulePort;
focal_class.type: PersistentMap<String, ModuleBean>
focal_class.var_name: modulePort
focal_class.declarator: properties
focal_class.modifier: private final
focal_class.original_string: private final Properties properties;
focal_class.type: Properties
focal_class.var_name: properties
focal_class.declarator: nextPort = 8080
focal_class.modifier: private volatile
focal_class.original_string: private volatile int nextPort = 8080;
focal_class.type: int
focal_class.var_name: nextPort
focal_class.file: micro-core/src/main/java/com/oath/micro/server/module/MicroserverEnvironment.java
focal_class.identifier: MicroserverEnvironment
focal_class.class_method_signature: MicroserverEnvironment.MicroserverEnvironment(Properties propertyFactory, Collection<ModuleBean> modules)
focal_class.full_signature: public  MicroserverEnvironment(Properties propertyFactory, Collection<ModuleBean> modules)
focal_class.identifier: MicroserverEnvironment
focal_class.modifiers: public
focal_class.parameters: (Properties propertyFactory, Collection<ModuleBean> modules)
focal_class.signature:  MicroserverEnvironment(Properties propertyFactory, Collection<ModuleBean> modules)
focal_class.class_method_signature: MicroserverEnvironment.MicroserverEnvironment(Properties propertyFactory)
focal_class.full_signature: public  MicroserverEnvironment(Properties propertyFactory)
focal_class.identifier: MicroserverEnvironment
focal_class.modifiers: public
focal_class.parameters: (Properties propertyFactory)
focal_class.signature:  MicroserverEnvironment(Properties propertyFactory)
focal_class.class_method_signature: MicroserverEnvironment.getModuleBean(Module module)
focal_class.full_signature: public ModuleBean getModuleBean(Module module)
focal_class.identifier: getModuleBean
focal_class.modifiers: public
focal_class.parameters: (Module module)
focal_class.return: ModuleBean
focal_class.signature: ModuleBean getModuleBean(Module module)
focal_class.class_method_signature: MicroserverEnvironment.assureModule(Module module)
focal_class.full_signature: public void assureModule(Module module)
focal_class.identifier: assureModule
focal_class.modifiers: public
focal_class.parameters: (Module module)
focal_class.return: void
focal_class.signature: void assureModule(Module module)
focal_class.class_method_signature: MicroserverEnvironment.getHost(Module module)
focal_class.full_signature: private String getHost(Module module)
focal_class.identifier: getHost
focal_class.modifiers: private
focal_class.parameters: (Module module)
focal_class.return: String
focal_class.signature: String getHost(Module module)
focal_class.class_method_signature: MicroserverEnvironment.getPort(Module module)
focal_class.full_signature: private int getPort(Module module)
focal_class.identifier: getPort
focal_class.modifiers: private
focal_class.parameters: (Module module)
focal_class.return: int
focal_class.signature: int getPort(Module module)
focal_method.body: public ModuleBean getModuleBean(Module module) {
  		return modulePort.getOrElse(module.getContext(),null);
  	}
focal_method.class_method_signature: MicroserverEnvironment.getModuleBean(Module module)
focal_method.full_signature: public ModuleBean getModuleBean(Module module)
focal_method.identifier: getModuleBean
focal_method.invocations: getOrElse getContext
focal_method.modifiers: public
focal_method.parameters: (Module module)
focal_method.return: ModuleBean
focal_method.signature: ModuleBean getModuleBean(Module module)