test_class.declarator: memConfig
test_class.modifier: private
test_class.original_string: private InmemoryConfiguration memConfig;
test_class.type: InmemoryConfiguration
test_class.var_name: memConfig
test_class.declarator: MOCK_KEY = "mockKey"
test_class.modifier: private static final
test_class.original_string: private static final String MOCK_KEY = "mockKey";
test_class.type: String
test_class.var_name: MOCK_KEY
test_class.declarator: MOCK_VALUE = "mockValue"
test_class.modifier: private static final
test_class.original_string: private static final String MOCK_VALUE = "mockValue";
test_class.type: String
test_class.var_name: MOCK_VALUE
test_class.declarator: MOCK_ONE_KEY = "one"
test_class.modifier: private static final
test_class.original_string: private static final String MOCK_ONE_KEY = "one";
test_class.type: String
test_class.var_name: MOCK_ONE_KEY
test_class.declarator: MOCK_TWO_KEY = "two"
test_class.modifier: private static final
test_class.original_string: private static final String MOCK_TWO_KEY = "two";
test_class.type: String
test_class.var_name: MOCK_TWO_KEY
test_class.declarator: MOCK_THREE_KEY = "three"
test_class.modifier: private static final
test_class.original_string: private static final String MOCK_THREE_KEY = "three";
test_class.type: String
test_class.var_name: MOCK_THREE_KEY
test_class.file: dubbo-common/src/test/java/org/apache/dubbo/common/config/InmemoryConfigurationTest.java
test_class.identifier: InmemoryConfigurationTest
test_case.body: @Test
      public void testGetInt() {
          memConfig.addProperty("a", "1");
          Assertions.assertEquals(1, memConfig.getInt("a"));
          Assertions.assertEquals(Integer.valueOf(1), memConfig.getInteger("a", 2));
          Assertions.assertEquals(2, memConfig.getInt("b", 2));
      }
test_case.class_method_signature: InmemoryConfigurationTest.testGetInt()
test_case.full_signature: @Test public void testGetInt()
test_case.identifier: testGetInt
test_case.invocations: addProperty assertEquals getInt assertEquals valueOf getInteger assertEquals getInt
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetInt()
focal_class.declarator: store = new LinkedHashMap<>()
focal_class.modifier: private
focal_class.original_string: private Map<String, String> store = new LinkedHashMap<>();
focal_class.type: Map<String, String>
focal_class.var_name: store
focal_class.file: dubbo-common/src/main/java/org/apache/dubbo/common/config/InmemoryConfiguration.java
focal_class.identifier: InmemoryConfiguration
focal_class.interfaces: implements Configuration
focal_class.class_method_signature: InmemoryConfiguration.getInternalProperty(String key)
focal_class.full_signature: @Override public Object getInternalProperty(String key)
focal_class.identifier: getInternalProperty
focal_class.modifiers: @Override public
focal_class.parameters: (String key)
focal_class.return: Object
focal_class.signature: Object getInternalProperty(String key)
focal_class.class_method_signature: InmemoryConfiguration.addProperty(String key, String value)
focal_class.full_signature: public void addProperty(String key, String value)
focal_class.identifier: addProperty
focal_class.modifiers: public
focal_class.parameters: (String key, String value)
focal_class.return: void
focal_class.signature: void addProperty(String key, String value)
focal_class.class_method_signature: InmemoryConfiguration.addProperties(Map<String, String> properties)
focal_class.full_signature: public void addProperties(Map<String, String> properties)
focal_class.identifier: addProperties
focal_class.modifiers: public
focal_class.parameters: (Map<String, String> properties)
focal_class.return: void
focal_class.signature: void addProperties(Map<String, String> properties)
focal_class.class_method_signature: InmemoryConfiguration.setProperties(Map<String, String> properties)
focal_class.full_signature: public void setProperties(Map<String, String> properties)
focal_class.identifier: setProperties
focal_class.modifiers: public
focal_class.parameters: (Map<String, String> properties)
focal_class.return: void
focal_class.signature: void setProperties(Map<String, String> properties)
focal_class.class_method_signature: InmemoryConfiguration.clear()
focal_class.full_signature: public void clear()
focal_class.identifier: clear
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clear()
focal_method.body: public void addProperty(String key, String value) {
          store.put(key, value);
      }
focal_method.class_method_signature: InmemoryConfiguration.addProperty(String key, String value)
focal_method.full_signature: public void addProperty(String key, String value)
focal_method.identifier: addProperty
focal_method.invocations: put
focal_method.modifiers: public
focal_method.parameters: (String key, String value)
focal_method.return: void
focal_method.signature: void addProperty(String key, String value)