/*
 * 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.routing.strategy;

import org.junit.Test;

public class ShardingEncryptorStrategyTest {
    
    @Test
    public void assertGetColumns() {
    }
    
    @Test
    public void assertGetAssistedQueryColumns() {
    }
    
    @Test
    public void assertGetShardingEncryptor() {
    }
}

@@ -869,256 +869,1158 @@
 org.
-junit.Test;%0A%0Apublic class ShardingEncryptorStrategyTest %7B%0A    %0A    @Test%0A    public void assertGetColumns() %7B%0A    %7D%0A    %0A    @Test%0A    public void assertGetAssistedQueryColumns() %7B%0A    %7D%0A    %0A    @Test%0A    public void assertGetShardingEncryptor() %7B
+apache.shardingsphere.core.encrypt.encryptor.ShardingEncryptor;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport java.util.Arrays;%0A%0Aimport static org.hamcrest.CoreMatchers.instanceOf;%0Aimport static org.hamcrest.CoreMatchers.is;%0Aimport static org.junit.Assert.assertThat;%0Aimport static org.mockito.Mockito.mock;%0A%0Apublic class ShardingEncryptorStrategyTest %7B%0A    %0A    private ShardingEncryptorStrategy shardingEncryptorStrategy;%0A    %0A    @Before%0A    public void setUp() %7B%0A        ShardingEncryptor shardingEncryptor = mock(ShardingEncryptor.class);%0A        shardingEncryptorStrategy = new ShardingEncryptorStrategy(Arrays.asList(%22pwd1%22, %22pwd2%22), shardingEncryptor);%0A    %7D    %0A    @Test%0A    public void assertGetColumns() %7B%0A        assertThat(shardingEncryptorStrategy.getColumns().iterator().next(), is(%22pwd1%22));%0A    %7D%0A    %0A    @Test%0A    public void assertGetAssistedQueryColumns() %7B%0A        assertThat(shardingEncryptorStrategy.getAssistedQueryColumns().size(), is(0));%0A    %7D%0A    %0A    @Test%0A    public void assertGetShardingEncryptor() %7B%0A        assertThat(shardingEncryptorStrategy.getShardingEncryptor(), instanceOf(ShardingEncryptor.class));
 %0A   

add assertGetShardingEncryptor()