Search in sources :

Example 1 with HttpClientAdapterProvider

use of io.crnk.client.http.apache.HttpClientAdapterProvider in project crnk-framework by crnk-project.

the class HttpAdapterProviderTest method testHttpClientProvider.

@Test
public void testHttpClientProvider() {
    HttpClientAdapterProvider provider = new HttpClientAdapterProvider();
    Assert.assertTrue(provider.isAvailable());
    Assert.assertTrue(provider.newInstance() instanceof HttpClientAdapter);
}
Also used : HttpClientAdapter(io.crnk.client.http.apache.HttpClientAdapter) HttpClientAdapterProvider(io.crnk.client.http.apache.HttpClientAdapterProvider) AbstractClientTest(io.crnk.client.AbstractClientTest) Test(org.junit.Test)

Aggregations

AbstractClientTest (io.crnk.client.AbstractClientTest)1 HttpClientAdapter (io.crnk.client.http.apache.HttpClientAdapter)1 HttpClientAdapterProvider (io.crnk.client.http.apache.HttpClientAdapterProvider)1 Test (org.junit.Test)1