"We need an API key to run these tests");
}
}
public IZencoderClient createClient(ZencoderAPIVersion apiVersion) {
ZencoderClient zencoderClient = new ZencoderClient(API_KEY, apiVersion);
HttpClient client = new HttpClient(new SimpleHttpConnectionManager());
ApacheHttpClientHandler apacheHttpClientHandler = new ApacheHttpClientHandler(
client, new DefaultApacheHttpClientConfig());
ApacheHttpClient httpClient = new ApacheHttpClient(
apacheHttpClientHandler);
zencoderClient.setHttpClient(httpClient);
return zencoderClient;
}