test_class.file: shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-common/src/test/java/org/apache/shardingsphere/encrypt/yaml/swapper/rule/EncryptColumnRuleConfigurationYamlSwapperTest.java
test_class.identifier: EncryptColumnRuleConfigurationYamlSwapperTest
test_case.body: @Test
      public void assertSwapToObject() {
          EncryptColumnRuleConfigurationYamlSwapper swapper = new EncryptColumnRuleConfigurationYamlSwapper();
          YamlEncryptColumnRuleConfiguration yamlEncryptColumnRuleConfig = new YamlEncryptColumnRuleConfiguration();
          yamlEncryptColumnRuleConfig.setLogicColumn("logicColumn");
          yamlEncryptColumnRuleConfig.setCipherColumn("cipherColumn");
          yamlEncryptColumnRuleConfig.setAssistedQueryColumn("assistedQueryColumn");
          yamlEncryptColumnRuleConfig.setPlainColumn("plainColumn");
          yamlEncryptColumnRuleConfig.setEncryptorName("encryptorName");
          EncryptColumnRuleConfiguration actual = swapper.swapToObject(yamlEncryptColumnRuleConfig);
          assertThat(actual.getLogicColumn(), is("logicColumn"));
          assertThat(actual.getCipherColumn(), is("cipherColumn"));
          assertThat(actual.getAssistedQueryColumn(), is("assistedQueryColumn"));
          assertThat(actual.getPlainColumn(), is("plainColumn"));
          assertThat(actual.getEncryptorName(), is("encryptorName"));
      }
test_case.class_method_signature: EncryptColumnRuleConfigurationYamlSwapperTest.assertSwapToObject()
test_case.full_signature: @Test public void assertSwapToObject()
test_case.identifier: assertSwapToObject
test_case.invocations: setLogicColumn setCipherColumn setAssistedQueryColumn setPlainColumn setEncryptorName swapToObject assertThat getLogicColumn is assertThat getCipherColumn is assertThat getAssistedQueryColumn is assertThat getPlainColumn is assertThat getEncryptorName is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertSwapToObject()
focal_class.file: shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-common/src/main/java/org/apache/shardingsphere/encrypt/yaml/swapper/rule/EncryptColumnRuleConfigurationYamlSwapper.java
focal_class.identifier: EncryptColumnRuleConfigurationYamlSwapper
focal_class.interfaces: implements YamlSwapper<YamlEncryptColumnRuleConfiguration, EncryptColumnRuleConfiguration>
focal_class.class_method_signature: EncryptColumnRuleConfigurationYamlSwapper.swapToYamlConfiguration(final EncryptColumnRuleConfiguration data)
focal_class.full_signature: @Override public YamlEncryptColumnRuleConfiguration swapToYamlConfiguration(final EncryptColumnRuleConfiguration data)
focal_class.identifier: swapToYamlConfiguration
focal_class.modifiers: @Override public
focal_class.parameters: (final EncryptColumnRuleConfiguration data)
focal_class.return: YamlEncryptColumnRuleConfiguration
focal_class.signature: YamlEncryptColumnRuleConfiguration swapToYamlConfiguration(final EncryptColumnRuleConfiguration data)
focal_class.class_method_signature: EncryptColumnRuleConfigurationYamlSwapper.swapToObject(final YamlEncryptColumnRuleConfiguration yamlConfig)
focal_class.full_signature: @Override public EncryptColumnRuleConfiguration swapToObject(final YamlEncryptColumnRuleConfiguration yamlConfig)
focal_class.identifier: swapToObject
focal_class.modifiers: @Override public
focal_class.parameters: (final YamlEncryptColumnRuleConfiguration yamlConfig)
focal_class.return: EncryptColumnRuleConfiguration
focal_class.signature: EncryptColumnRuleConfiguration swapToObject(final YamlEncryptColumnRuleConfiguration yamlConfig)
focal_method.body: @Override
      public EncryptColumnRuleConfiguration swapToObject(final YamlEncryptColumnRuleConfiguration yamlConfig) {
          return new EncryptColumnRuleConfiguration(
                  yamlConfig.getLogicColumn(), yamlConfig.getCipherColumn(), yamlConfig.getAssistedQueryColumn(), yamlConfig.getPlainColumn(), yamlConfig.getEncryptorName());
      }
focal_method.class_method_signature: EncryptColumnRuleConfigurationYamlSwapper.swapToObject(final YamlEncryptColumnRuleConfiguration yamlConfig)
focal_method.full_signature: @Override public EncryptColumnRuleConfiguration swapToObject(final YamlEncryptColumnRuleConfiguration yamlConfig)
focal_method.identifier: swapToObject
focal_method.invocations: getLogicColumn getCipherColumn getAssistedQueryColumn getPlainColumn getEncryptorName
focal_method.modifiers: @Override public
focal_method.parameters: (final YamlEncryptColumnRuleConfiguration yamlConfig)
focal_method.return: EncryptColumnRuleConfiguration
focal_method.signature: EncryptColumnRuleConfiguration swapToObject(final YamlEncryptColumnRuleConfiguration yamlConfig)