HttpStackFactory { public static HttpClientStack createHttpClientStack(HttpClient httpClient) { return new HttpClientStack(httpClient); }  static HttpStack createDefaultHttpStack(); static HurlStack createHurlStack(); static HttpClientStack createHttpClientStack(HttpClient httpClient);  }
@Test public void shouldCreateNotNullHttpClientStack() { HttpClient httpClient = new DefaultHttpClient(); HttpClientStack httpStack = HttpStackFactory.createHttpClientStack(httpClient); assertTrue(httpStack != null); }