test_class.file: shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/auth/yaml/swapper/AuthenticationYamlSwapperTest.java
test_class.identifier: AuthenticationYamlSwapperTest
test_case.body: @Test
      public void assertSwapToObjectForNull() {
          Authentication actual = new AuthenticationYamlSwapper().swapToObject(null);
          assertTrue(actual.getUsers().isEmpty());
      }
test_case.class_method_signature: AuthenticationYamlSwapperTest.assertSwapToObjectForNull()
test_case.full_signature: @Test public void assertSwapToObjectForNull()
test_case.identifier: assertSwapToObjectForNull
test_case.invocations: swapToObject assertTrue isEmpty getUsers
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertSwapToObjectForNull()
focal_class.declarator: proxyUserYamlSwapper = new ProxyUserYamlSwapper()
focal_class.modifier: private final
focal_class.original_string: private final ProxyUserYamlSwapper proxyUserYamlSwapper = new ProxyUserYamlSwapper();
focal_class.type: ProxyUserYamlSwapper
focal_class.var_name: proxyUserYamlSwapper
focal_class.file: shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/auth/yaml/swapper/AuthenticationYamlSwapper.java
focal_class.identifier: AuthenticationYamlSwapper
focal_class.interfaces: implements YamlSwapper<YamlAuthenticationConfiguration, Authentication>
focal_class.class_method_signature: AuthenticationYamlSwapper.swapToYamlConfiguration(final Authentication data)
focal_class.full_signature: @Override public YamlAuthenticationConfiguration swapToYamlConfiguration(final Authentication data)
focal_class.identifier: swapToYamlConfiguration
focal_class.modifiers: @Override public
focal_class.parameters: (final Authentication data)
focal_class.return: YamlAuthenticationConfiguration
focal_class.signature: YamlAuthenticationConfiguration swapToYamlConfiguration(final Authentication data)
focal_class.class_method_signature: AuthenticationYamlSwapper.swapToObject(final YamlAuthenticationConfiguration yamlConfig)
focal_class.full_signature: @Override public Authentication swapToObject(final YamlAuthenticationConfiguration yamlConfig)
focal_class.identifier: swapToObject
focal_class.modifiers: @Override public
focal_class.parameters: (final YamlAuthenticationConfiguration yamlConfig)
focal_class.return: Authentication
focal_class.signature: Authentication swapToObject(final YamlAuthenticationConfiguration yamlConfig)
focal_method.body: @Override
      public Authentication swapToObject(final YamlAuthenticationConfiguration yamlConfig) {
          Authentication result = new Authentication();
          if (null == yamlConfig) {
              return result;
          }
          result.getUsers().putAll(Maps.transformValues(yamlConfig.getUsers(), proxyUserYamlSwapper::swapToObject));
          return result;
      }
focal_method.class_method_signature: AuthenticationYamlSwapper.swapToObject(final YamlAuthenticationConfiguration yamlConfig)
focal_method.full_signature: @Override public Authentication swapToObject(final YamlAuthenticationConfiguration yamlConfig)
focal_method.identifier: swapToObject
focal_method.invocations: putAll getUsers transformValues getUsers
focal_method.modifiers: @Override public
focal_method.parameters: (final YamlAuthenticationConfiguration yamlConfig)
focal_method.return: Authentication
focal_method.signature: Authentication swapToObject(final YamlAuthenticationConfiguration yamlConfig)