test_class.file: shardingsphere-infra/shardingsphere-infra-rewrite/shardingsphere-infra-rewrite-engine/src/test/java/org/apache/shardingsphere/infra/rewrite/engine/GenericSQLRewriteEngineTest.java
test_class.identifier: GenericSQLRewriteEngineTest
test_case.body: @Test
      public void assertRewrite() {
          GenericSQLRewriteResult actual = new GenericSQLRewriteEngine().rewrite(
                  new SQLRewriteContext(mock(SchemaMetaData.class), mock(SQLStatementContext.class), "SELECT 1", Collections.emptyList()));
          assertThat(actual.getSqlRewriteUnit().getSql(), is("SELECT 1"));
          assertThat(actual.getSqlRewriteUnit().getParameters(), is(Collections.emptyList()));
      }
test_case.class_method_signature: GenericSQLRewriteEngineTest.assertRewrite()
test_case.full_signature: @Test public void assertRewrite()
test_case.identifier: assertRewrite
test_case.invocations: rewrite mock mock emptyList assertThat getSql getSqlRewriteUnit is assertThat getParameters getSqlRewriteUnit is emptyList
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertRewrite()
focal_class.file: shardingsphere-infra/shardingsphere-infra-rewrite/shardingsphere-infra-rewrite-engine/src/main/java/org/apache/shardingsphere/infra/rewrite/engine/GenericSQLRewriteEngine.java
focal_class.identifier: GenericSQLRewriteEngine
focal_class.class_method_signature: GenericSQLRewriteEngine.rewrite(final SQLRewriteContext sqlRewriteContext)
focal_class.full_signature: public GenericSQLRewriteResult rewrite(final SQLRewriteContext sqlRewriteContext)
focal_class.identifier: rewrite
focal_class.modifiers: public
focal_class.parameters: (final SQLRewriteContext sqlRewriteContext)
focal_class.return: GenericSQLRewriteResult
focal_class.signature: GenericSQLRewriteResult rewrite(final SQLRewriteContext sqlRewriteContext)
focal_method.body: public GenericSQLRewriteResult rewrite(final SQLRewriteContext sqlRewriteContext) {
          return new GenericSQLRewriteResult(new SQLRewriteUnit(new DefaultSQLBuilder(sqlRewriteContext).toSQL(), sqlRewriteContext.getParameterBuilder().getParameters()));
      }
focal_method.class_method_signature: GenericSQLRewriteEngine.rewrite(final SQLRewriteContext sqlRewriteContext)
focal_method.full_signature: public GenericSQLRewriteResult rewrite(final SQLRewriteContext sqlRewriteContext)
focal_method.identifier: rewrite
focal_method.invocations: toSQL getParameters getParameterBuilder
focal_method.modifiers: public
focal_method.parameters: (final SQLRewriteContext sqlRewriteContext)
focal_method.return: GenericSQLRewriteResult
focal_method.signature: GenericSQLRewriteResult rewrite(final SQLRewriteContext sqlRewriteContext)