test_class.declarator: schemaMetaData
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private SchemaMetaData schemaMetaData;
test_class.type: SchemaMetaData
test_class.var_name: schemaMetaData
test_class.declarator: sqlStatementContext
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private SQLStatementContext<?> sqlStatementContext;
test_class.type: SQLStatementContext<?>
test_class.var_name: sqlStatementContext
test_class.file: shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-merge/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/EncryptDALResultDecoratorTest.java
test_class.identifier: EncryptDALResultDecoratorTest
test_case.body: @Test
      public void assertMergedResultWithDescribeStatement() {
          schemaMetaData = mock(SchemaMetaData.class);
          sqlStatementContext = getDescribeStatementContext();
          EncryptDALResultDecorator encryptDALResultDecorator = new EncryptDALResultDecorator();
          assertThat(encryptDALResultDecorator.decorate(mock(QueryResult.class), sqlStatementContext, schemaMetaData), instanceOf(MergedEncryptColumnsMergedResult.class));
          assertThat(encryptDALResultDecorator.decorate(mock(MergedResult.class), sqlStatementContext, schemaMetaData), instanceOf(DecoratedEncryptColumnsMergedResult.class));
      }
test_case.class_method_signature: EncryptDALResultDecoratorTest.assertMergedResultWithDescribeStatement()
test_case.full_signature: @Test public void assertMergedResultWithDescribeStatement()
test_case.identifier: assertMergedResultWithDescribeStatement
test_case.invocations: mock getDescribeStatementContext assertThat decorate mock instanceOf assertThat decorate mock instanceOf
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertMergedResultWithDescribeStatement()
focal_class.file: shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-merge/src/main/java/org/apache/shardingsphere/encrypt/merge/dal/EncryptDALResultDecorator.java
focal_class.identifier: EncryptDALResultDecorator
focal_class.interfaces: implements ResultDecorator
focal_class.class_method_signature: EncryptDALResultDecorator.decorate(final QueryResult queryResult, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData)
focal_class.full_signature: @Override public MergedResult decorate(final QueryResult queryResult, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData)
focal_class.identifier: decorate
focal_class.modifiers: @Override public
focal_class.parameters: (final QueryResult queryResult, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData)
focal_class.return: MergedResult
focal_class.signature: MergedResult decorate(final QueryResult queryResult, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData)
focal_class.class_method_signature: EncryptDALResultDecorator.decorate(final MergedResult mergedResult, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData)
focal_class.full_signature: @Override public MergedResult decorate(final MergedResult mergedResult, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData)
focal_class.identifier: decorate
focal_class.modifiers: @Override public
focal_class.parameters: (final MergedResult mergedResult, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData)
focal_class.return: MergedResult
focal_class.signature: MergedResult decorate(final MergedResult mergedResult, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData)
focal_class.class_method_signature: EncryptDALResultDecorator.isNeedMergeEncryptColumns(final SQLStatement sqlStatement)
focal_class.full_signature: private boolean isNeedMergeEncryptColumns(final SQLStatement sqlStatement)
focal_class.identifier: isNeedMergeEncryptColumns
focal_class.modifiers: private
focal_class.parameters: (final SQLStatement sqlStatement)
focal_class.return: boolean
focal_class.signature: boolean isNeedMergeEncryptColumns(final SQLStatement sqlStatement)
focal_method.body: @Override
      public MergedResult decorate(final QueryResult queryResult, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData) {
          return isNeedMergeEncryptColumns(sqlStatementContext.getSqlStatement())
                  ? new MergedEncryptColumnsMergedResult(queryResult, sqlStatementContext, schemaMetaData) : new TransparentMergedResult(queryResult);
      }
focal_method.class_method_signature: EncryptDALResultDecorator.decorate(final QueryResult queryResult, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData)
focal_method.full_signature: @Override public MergedResult decorate(final QueryResult queryResult, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData)
focal_method.identifier: decorate
focal_method.invocations: isNeedMergeEncryptColumns getSqlStatement
focal_method.modifiers: @Override public
focal_method.parameters: (final QueryResult queryResult, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData)
focal_method.return: MergedResult
focal_method.signature: MergedResult decorate(final QueryResult queryResult, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData)