test_class.declarator: sysConfig
test_class.modifier: private static
test_class.original_string: private static SystemConfiguration sysConfig;
test_class.type: SystemConfiguration
test_class.var_name: sysConfig
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_STRING_VALUE = "mockValue"
test_class.modifier: private static final
test_class.original_string: private static final String MOCK_STRING_VALUE = "mockValue";
test_class.type: String
test_class.var_name: MOCK_STRING_VALUE
test_class.declarator: MOCK_BOOL_VALUE = Boolean.FALSE
test_class.modifier: private static final
test_class.original_string: private static final Boolean MOCK_BOOL_VALUE = Boolean.FALSE;
test_class.type: Boolean
test_class.var_name: MOCK_BOOL_VALUE
test_class.declarator: MOCK_INT_VALUE = Integer.MAX_VALUE
test_class.modifier: private static final
test_class.original_string: private static final Integer MOCK_INT_VALUE = Integer.MAX_VALUE;
test_class.type: Integer
test_class.var_name: MOCK_INT_VALUE
test_class.declarator: MOCK_LONG_VALUE = Long.MIN_VALUE
test_class.modifier: private static final
test_class.original_string: private static final Long MOCK_LONG_VALUE = Long.MIN_VALUE;
test_class.type: Long
test_class.var_name: MOCK_LONG_VALUE
test_class.declarator: MOCK_SHORT_VALUE = Short.MIN_VALUE
test_class.modifier: private static final
test_class.original_string: private static final Short MOCK_SHORT_VALUE = Short.MIN_VALUE;
test_class.type: Short
test_class.var_name: MOCK_SHORT_VALUE
test_class.declarator: MOCK_FLOAT_VALUE = Float.MIN_VALUE
test_class.modifier: private static final
test_class.original_string: private static final Float MOCK_FLOAT_VALUE = Float.MIN_VALUE;
test_class.type: Float
test_class.var_name: MOCK_FLOAT_VALUE
test_class.declarator: MOCK_DOUBLE_VALUE = Double.MIN_VALUE
test_class.modifier: private static final
test_class.original_string: private static final Double MOCK_DOUBLE_VALUE = Double.MIN_VALUE;
test_class.type: Double
test_class.var_name: MOCK_DOUBLE_VALUE
test_class.declarator: MOCK_BYTE_VALUE = Byte.MIN_VALUE
test_class.modifier: private static final
test_class.original_string: private static final Byte MOCK_BYTE_VALUE = Byte.MIN_VALUE;
test_class.type: Byte
test_class.var_name: MOCK_BYTE_VALUE
test_class.declarator: NOT_EXIST_KEY = "NOTEXIST"
test_class.modifier: private static final
test_class.original_string: private static final String NOT_EXIST_KEY = "NOTEXIST";
test_class.type: String
test_class.var_name: NOT_EXIST_KEY
test_class.file: dubbo-common/src/test/java/org/apache/dubbo/common/config/SystemConfigurationTest.java
test_class.identifier: SystemConfigurationTest
test_case.body: @Test
      public void testGetSysProperty() {
          Assertions.assertNull(sysConfig.getInternalProperty(MOCK_KEY));
          Assertions.assertFalse(sysConfig.containsKey(MOCK_KEY));
          Assertions.assertNull(sysConfig.getString(MOCK_KEY));
          Assertions.assertNull(sysConfig.getProperty(MOCK_KEY));
          System.setProperty(MOCK_KEY, MOCK_STRING_VALUE);
          Assertions.assertTrue(sysConfig.containsKey(MOCK_KEY));
          Assertions.assertEquals(MOCK_STRING_VALUE, sysConfig.getInternalProperty(MOCK_KEY));
          Assertions.assertEquals(MOCK_STRING_VALUE, sysConfig.getString(MOCK_KEY, MOCK_STRING_VALUE));
          Assertions.assertEquals(MOCK_STRING_VALUE, sysConfig.getProperty(MOCK_KEY, MOCK_STRING_VALUE));
      }
test_case.class_method_signature: SystemConfigurationTest.testGetSysProperty()
test_case.full_signature: @Test public void testGetSysProperty()
test_case.identifier: testGetSysProperty
test_case.invocations: assertNull getInternalProperty assertFalse containsKey assertNull getString assertNull getProperty setProperty assertTrue containsKey assertEquals getInternalProperty assertEquals getString assertEquals getProperty
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetSysProperty()
focal_class.file: dubbo-common/src/main/java/org/apache/dubbo/common/config/SystemConfiguration.java
focal_class.identifier: SystemConfiguration
focal_class.interfaces: implements Configuration
focal_class.class_method_signature: SystemConfiguration.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_method.body: @Override
      public Object getInternalProperty(String key) {
          return System.getProperty(key);
      }
focal_method.class_method_signature: SystemConfiguration.getInternalProperty(String key)
focal_method.full_signature: @Override public Object getInternalProperty(String key)
focal_method.identifier: getInternalProperty
focal_method.invocations: getProperty
focal_method.modifiers: @Override public
focal_method.parameters: (String key)
focal_method.return: Object
focal_method.signature: Object getInternalProperty(String key)