test_class.declarator: metaData
test_class.modifier: private
test_class.original_string: private EncryptAlgorithmMetaData metaData;
test_class.type: EncryptAlgorithmMetaData
test_class.var_name: metaData
test_class.declarator: queryWithCipherColumn
test_class.modifier: private
test_class.original_string: private boolean queryWithCipherColumn;
test_class.type: boolean
test_class.var_name: queryWithCipherColumn
test_class.file: shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-merge/src/test/java/org/apache/shardingsphere/encrypt/merge/dql/EncryptDQLResultDecoratorTest.java
test_class.identifier: EncryptDQLResultDecoratorTest
test_case.body: @Test
      public void assertDecorateMergedResult() throws SQLException {
          MergedResult mergedResult = mock(MergedResult.class);
          when(mergedResult.next()).thenReturn(true);
          EncryptDQLResultDecorator decorator = new EncryptDQLResultDecorator(metaData, queryWithCipherColumn);
          MergedResult actual = decorator.decorate(mergedResult, mock(SQLStatementContext.class), mock(SchemaMetaData.class));
          assertTrue(actual.next());
      }
test_case.class_method_signature: EncryptDQLResultDecoratorTest.assertDecorateMergedResult()
test_case.full_signature: @Test public void assertDecorateMergedResult()
test_case.identifier: assertDecorateMergedResult
test_case.invocations: mock thenReturn when next decorate mock mock assertTrue next
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertDecorateMergedResult()
focal_class.declarator: metaData
focal_class.modifier: private final
focal_class.original_string: private final EncryptAlgorithmMetaData metaData;
focal_class.type: EncryptAlgorithmMetaData
focal_class.var_name: metaData
focal_class.declarator: queryWithCipherColumn
focal_class.modifier: private final
focal_class.original_string: private final boolean queryWithCipherColumn;
focal_class.type: boolean
focal_class.var_name: queryWithCipherColumn
focal_class.file: shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-merge/src/main/java/org/apache/shardingsphere/encrypt/merge/dql/EncryptDQLResultDecorator.java
focal_class.identifier: EncryptDQLResultDecorator
focal_class.interfaces: implements ResultDecorator
focal_class.class_method_signature: EncryptDQLResultDecorator.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: EncryptDQLResultDecorator.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_method.body: @Override
      public MergedResult decorate(final QueryResult queryResult, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData) {
          return new EncryptMergedResult(metaData, new TransparentMergedResult(queryResult), queryWithCipherColumn);
      }
focal_method.class_method_signature: EncryptDQLResultDecorator.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.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)