use of io.servicecomb.foundation.vertx.client.http.HttpClientVerticle in project java-chassis by ServiceComb.
the class TestClient method testHttpClientVerticle.
@Test
public void testHttpClientVerticle() throws Exception {
HttpClientVerticle oVerticle = new HttpClientVerticle();
oVerticle.init(Vertx.vertx(), null);
Assert.assertEquals("clientMgr", HttpClientVerticle.CLIENT_MGR);
Assert.assertEquals("poolCount", HttpClientVerticle.POOL_COUNT);
Assert.assertEquals("clientOptions", HttpClientVerticle.CLIENT_OPTIONS);
HttpClientWithContext oContextClient = new HttpClientWithContext(null, null);
Assert.assertEquals(null, oContextClient.getHttpClient());
}
Aggregations