HttpClient { public void disconnect() { if (httpURLConnection == null) return; httpURLConnection.disconnect(); } HttpClient(); HttpResponse request(HttpRequest httpRequest); void disconnect();  }
@Test public void disconnect() throws Exception { { HttpClient httpClient = new HttpClient(); httpClient.disconnect(); } }