@@ -0,0 +1,964 @@
+package shuaicj.hobby.great.free.will;%0A%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0Aimport java.net.HttpURLConnection;%0Aimport java.net.InetSocketAddress;%0Aimport java.net.Proxy;%0Aimport java.net.URL;%0A%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.springframework.beans.factory.annotation.Value;%0Aimport org.springframework.boot.test.context.SpringBootTest;%0Aimport org.springframework.test.context.junit4.SpringRunner;%0A%0A/**%0A * Test the project.%0A *%0A * @author shuaicj 2017/10/11%0A */%0A@SpringBootTest%0A@RunWith(SpringRunner.class)%0Apublic class GreatFreeWillTest %7B%0A%0A    @Value(%22$%7Bclient.daemon.port%7D%22)%0A    int port;%0A%0A    @Test%0A    public void sock5() throws Exception %7B%0A        Proxy proxy = new Proxy(Proxy.Type.SOCKS, new InetSocketAddress(%22127.0.0.1%22, port));%0A        HttpURLConnection conn = (HttpURLConnection) new URL(%22https://github.com%22).openConnection(proxy);%0A        assertThat(conn.getResponseCode()).isEqualTo(200);%0A    %7D%0A%7D%0A%0A

add test