test_class.file: shardingsphere-infra/shardingsphere-infra-merge/src/test/java/org/apache/shardingsphere/infra/merge/engine/merger/impl/TransparentResultMergerTest.java
test_class.identifier: TransparentResultMergerTest
test_case.body: @Test
      public void assertMerge() throws SQLException {
          QueryResult queryResult = mock(QueryResult.class);
          when(queryResult.next()).thenReturn(true);
          TransparentResultMerger merger = new TransparentResultMerger();
          MergedResult actual = merger.merge(Collections.singletonList(queryResult), mock(SQLStatementContext.class), mock(SchemaMetaData.class));
          assertTrue(actual.next());
      }
test_case.class_method_signature: TransparentResultMergerTest.assertMerge()
test_case.full_signature: @Test public void assertMerge()
test_case.identifier: assertMerge
test_case.invocations: mock thenReturn when next merge singletonList mock mock assertTrue next
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertMerge()
focal_class.file: shardingsphere-infra/shardingsphere-infra-merge/src/main/java/org/apache/shardingsphere/infra/merge/engine/merger/impl/TransparentResultMerger.java
focal_class.identifier: TransparentResultMerger
focal_class.interfaces: implements ResultMerger
focal_class.class_method_signature: TransparentResultMerger.merge(final List<QueryResult> queryResults, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData)
focal_class.full_signature: @Override public MergedResult merge(final List<QueryResult> queryResults, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData)
focal_class.identifier: merge
focal_class.modifiers: @Override public
focal_class.parameters: (final List<QueryResult> queryResults, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData)
focal_class.return: MergedResult
focal_class.signature: MergedResult merge(final List<QueryResult> queryResults, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData)
focal_method.body: @Override
      public MergedResult merge(final List<QueryResult> queryResults, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData) {
          return new TransparentMergedResult(queryResults.get(0));
      }
focal_method.class_method_signature: TransparentResultMerger.merge(final List<QueryResult> queryResults, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData)
focal_method.full_signature: @Override public MergedResult merge(final List<QueryResult> queryResults, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData)
focal_method.identifier: merge
focal_method.invocations: get
focal_method.modifiers: @Override public
focal_method.parameters: (final List<QueryResult> queryResults, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData)
focal_method.return: MergedResult
focal_method.signature: MergedResult merge(final List<QueryResult> queryResults, final SQLStatementContext<?> sqlStatementContext, final SchemaMetaData schemaMetaData)