package com.huansi.api;

import com.huansi.client.EsbClient;
import com.huansi.client.utils.ScheduledExecutor;
import org.junit.Test;

/**
 * @ClassName TestClient
 * @Description
 * @Author duanpc
 * @Date 2021/6/30 16:48
 * @Version 1.0
 **/
public class TestClient {

    public void config(){
        EsbClient client = EsbClient.getInstance();
        client.setClientId("8");
        client.setUrl("http://esb-dev-hangzhou.saas.huansi.net");
    }

    @Test
    public void execute(){
        ScheduledExecutor executor = new ScheduledExecutor();
        executor.execute();
    }

}
