Search in sources :

Example 1 with OkHttpAdapterProvider

use of io.crnk.client.http.okhttp.OkHttpAdapterProvider in project crnk-framework by crnk-project.

the class HttpAdapterProviderTest method testOkHttpProvider.

@Test
public void testOkHttpProvider() {
    OkHttpAdapterProvider provider = new OkHttpAdapterProvider();
    Assert.assertTrue(provider.isAvailable());
    Assert.assertTrue(provider.newInstance() instanceof OkHttpAdapter);
}
Also used : OkHttpAdapter(io.crnk.client.http.okhttp.OkHttpAdapter) OkHttpAdapterProvider(io.crnk.client.http.okhttp.OkHttpAdapterProvider) AbstractClientTest(io.crnk.client.AbstractClientTest) Test(org.junit.Test)

Aggregations

AbstractClientTest (io.crnk.client.AbstractClientTest)1 OkHttpAdapter (io.crnk.client.http.okhttp.OkHttpAdapter)1 OkHttpAdapterProvider (io.crnk.client.http.okhttp.OkHttpAdapterProvider)1 Test (org.junit.Test)1