Package code.satyagraha.gfm.support.api

Examples of code.satyagraha.gfm.support.api.Config


        Connector[] connectors = server.getConnectors();
        int port = connectors[0].getLocalPort();
        LOGGER.info("server port: " + port);

        Config config = mock(Config.class);
        String apiUrl = "http://localhost:" + port;
        given(config.getApiUrl()).willReturn(apiUrl);

        WebProxyConfig webProxyConfig = mock(WebProxyConfig.class);
        SSLSocketFactory sslSocketFactory = mock(SSLSocketFactory.class);
        ClientConnectionManager connectionManager = new ClientConnManagerDefault(sslSocketFactory);
        WebServiceClient webServiceClient = new WebServiceClientDefault(config, webProxyConfig, connectionManager);
View Full Code Here

TOP

Related Classes of code.satyagraha.gfm.support.api.Config

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.