/*
 * Copyright 2015 Hewlett-Packard Development Company, L.P.
 * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
 */

package com.hp.autonomy.iod.client;

import com.hp.autonomy.iod.client.converter.IodConverter;
import com.hp.autonomy.iod.client.error.IodErrorHandler;
import org.apache.http.HttpHost;
import org.apache.http.impl.client.HttpClientBuilder;
import org.junit.Before;
import retrofit.RestAdapter;
import retrofit.client.ApacheClient;
import retrofit.converter.JacksonConverter;

public abstract class AbstractIodClientIntegrationTest {

    private RestAdapter restAdapter;

    @Before
    public void setUp() {
        restAdapter = RestAdapterFactory.getRestAdapter(false);
    }

    public String getIndex() {
        return "java-iod-client-integration-tests";
    }

    public RestAdapter getRestAdapter() {
        return restAdapter;
    }

    public String getApiKey() {
        return System.getProperty("hp.iod.apiKey");
    }
}

@@ -225,333 +225,50 @@
 ort 
-com.hp.autonomy.iod.client.converter.IodConverter;%0Aimport com.hp.autonomy.iod.client.error.IodErrorHandler;%0Aimport org.apache.http.HttpHost;%0Aimport org.apache.http.impl.client.HttpClientBuilder;%0Aimport org.junit.Before;%0Aimport retrofit.RestAdapter;%0Aimport retrofit.client.ApacheClient;%0Aimport retrofit.converter.JacksonConver
+org.junit.Before;%0Aimport retrofit.RestAdap
 ter;

Optimize imports