### Question:
HttpClientImpl implements OktaHttpClient { @Override public void cleanUp() { mUrlConnection = null; }  @Override InputStream connect(@NonNull Uri uri, @NonNull ConnectionParameters params); @Override void cleanUp(); @Override void cancel(); @Override Map<String, List<String>> getHeaderFields(); @Override String getHeader(String header); @Override int getResponseCode(); @Override int getContentLength(); @Override String getResponseMessage(); @VisibleForTesting HttpURLConnection getUrlConnection();  }### Answer:
@Test public void cleanUp() { mHttpClient.cleanUp(); assertNull(mHttpClient.getUrlConnection()); }