/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.apache.shardingsphere.core.rewrite.builder;

import org.junit.Before;
import org.junit.Test;

public final class SQLBuilderTest {
    
    @Before
    public void setUp() {
    }
    
    @Test
    public void assertToSQL() {
    }
    
    @Test
    public void assertToSQLWithSharding() {
    }
}

@@ -868,242 +868,1231 @@
 org.
-junit.Before;%0Aimport org.junit.Test;%0A%0Apublic final class SQLBuilderTest %7B%0A    %0A    @Before%0A    public void setUp() %7B%0A    %7D%0A    %0A    @Test%0A    public void assertToSQL() %7B%0A    %7D%0A    %0A    @Test%0A    public void assertToSQLWithSharding() %7B
+apache.shardingsphere.core.parse.constant.QuoteCharacter;%0Aimport org.apache.shardingsphere.core.rewrite.token.pojo.SQLToken;%0Aimport org.apache.shardingsphere.core.rewrite.token.pojo.TableToken;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport java.util.Collections;%0A%0Aimport static org.hamcrest.CoreMatchers.is;%0Aimport static org.junit.Assert.assertThat;%0A%0Apublic final class SQLBuilderTest %7B%0A    %0A    private SQLBuilder sqlBuilderWithoutTokens;%0A    %0A    private SQLBuilder sqlBuilderWithTokens;%0A    %0A    @Before%0A    public void setUp() %7B%0A        sqlBuilderWithoutTokens = new SQLBuilder(%22SELECT * FROM t_config%22, Collections.%3CSQLToken%3EemptyList());%0A        sqlBuilderWithTokens = new SQLBuilder(%0A                %22SELECT * FROM t_order WHERE order_id %3E 1%22, Collections.%3CSQLToken%3EsingletonList(new TableToken(14, 20, %22t_order%22, QuoteCharacter.NONE)));%0A    %7D%0A    %0A    @Test%0A    public void assertToSQLWithoutTokens() %7B%0A        assertThat(sqlBuilderWithoutTokens.toSQL(), is(%22SELECT * FROM t_config%22));%0A    %7D%0A    %0A    @Test%0A    public void assertToSQLWithSharding() %7B%0A        assertThat(sqlBuilderWithTokens.toSQL(null, Collections.singletonMap(%22t_order%22, %22t_order_0%22)), is(%22SELECT * FROM t_order_0 WHERE order_id %3E 1%22));
 %0A   

add test cases