### Question:
HttpClientImpl implements OktaHttpClient { @Override public String getResponseMessage() throws IOException { if (mUrlConnection != null) { return mUrlConnection.getResponseMessage(); } return 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 getResponseMessage() throws Exception { mEndPoint.enqueueUserInfoSuccess(); mHttpClient.connect(Uri.parse(mEndPoint.getUrl()), mRequest.mConnParams); assertEquals("OK", mHttpClient.getResponseMessage()); }