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 assertSwapToYamlConfiguration() {
          EncryptColumnRuleConfigurationYamlSwapper swapper = new EncryptColumnRuleConfigurationYamlSwapper();
          EncryptColumnRuleConfiguration encryptColumnRuleConfig = new EncryptColumnRuleConfiguration("logicColumn", "cipherColumn", "assistedQueryColumn", "plainColumn", "encryptorName");
          YamlEncryptColumnRuleConfiguration actual = swapper.swapToYamlConfiguration(encryptColumnRuleConfig);
          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.assertSwapToYamlConfiguration()
test_case.full_signature: @Test public void assertSwapToYamlConfiguration()
test_case.identifier: assertSwapToYamlConfiguration
test_case.invocations: swapToYamlConfiguration 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 assertSwapToYamlConfiguration()
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 YamlEncryptColumnRuleConfiguration swapToYamlConfiguration(final EncryptColumnRuleConfiguration data) {
          YamlEncryptColumnRuleConfiguration result = new YamlEncryptColumnRuleConfiguration();
          result.setPlainColumn(data.getPlainColumn());
          result.setCipherColumn(data.getCipherColumn());
          result.setAssistedQueryColumn(data.getAssistedQueryColumn());
          result.setEncryptorName(data.getEncryptorName());
          return result;
      }
focal_method.class_method_signature: EncryptColumnRuleConfigurationYamlSwapper.swapToYamlConfiguration(final EncryptColumnRuleConfiguration data)
focal_method.full_signature: @Override public YamlEncryptColumnRuleConfiguration swapToYamlConfiguration(final EncryptColumnRuleConfiguration data)
focal_method.identifier: swapToYamlConfiguration
focal_method.invocations: setPlainColumn getPlainColumn setCipherColumn getCipherColumn setAssistedQueryColumn getAssistedQueryColumn setEncryptorName getEncryptorName
focal_method.modifiers: @Override public
focal_method.parameters: (final EncryptColumnRuleConfiguration data)
focal_method.return: YamlEncryptColumnRuleConfiguration
focal_method.signature: YamlEncryptColumnRuleConfiguration swapToYamlConfiguration(final EncryptColumnRuleConfiguration data)