test_class.file: shardingsphere-infra/shardingsphere-infra-merge/src/test/java/org/apache/shardingsphere/infra/merge/engine/decorator/impl/TransparentResultDecoratorTest.java
test_class.identifier: TransparentResultDecoratorTest
test_case.body: @Test
      public void assertDecorateQueryResult() throws SQLException {
          QueryResult queryResult = mock(QueryResult.class);
          when(queryResult.next()).thenReturn(true);
          TransparentResultDecorator decorator = new TransparentResultDecorator();
          MergedResult actual = decorator.decorate(queryResult, mock(SQLStatementContext.class), mock(SchemaMetaData.class));
          assertTrue(actual.next());
      }
test_case.class_method_signature: TransparentResultDecoratorTest.assertDecorateQueryResult()
test_case.full_signature: @Test public void assertDecorateQueryResult()
test_case.identifier: assertDecorateQueryResult
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 assertDecorateQueryResult()
focal_class.file: shardingsphere-infra/shardingsphere-infra-merge/src/main/java/org/apache/shardingsphere/infra/merge/engine/decorator/impl/TransparentResultDecorator.java
focal_class.identifier: TransparentResultDecorator
focal_class.interfaces: implements ResultDecorator
focal_class.class_method_signature: TransparentResultDecorator.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: TransparentResultDecorator.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 TransparentMergedResult(queryResult);
      }
focal_method.class_method_signature: TransparentResultDecorator.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)