### Question:
IntrospectRequest extends
        BaseRequest<IntrospectInfo, AuthorizationException> { @Override public IntrospectInfo executeRequest(OktaHttpClient client) throws AuthorizationException { AuthorizationException exception = null; HttpResponse response = null; try { response = openConnection(client); JSONObject json = response.asJson(); return new Gson().fromJson(json.toString(), IntrospectInfo.class); } catch (IOException ex) { exception = new AuthorizationException(ex.getMessage(), ex); } catch (JSONException e) { exception = AuthorizationException.fromTemplate( AuthorizationException.GeneralErrors.JSON_DESERIALIZATION_ERROR, e); } catch (Exception e) { exception = AuthorizationException.fromTemplate(AuthorizationException .GeneralErrors.NETWORK_ERROR, e); } finally { if (response != null) { response.disconnect(); } if (exception != null) { throw exception; } } return null; } IntrospectRequest(HttpRequestBuilder.Introspect b); @Override IntrospectInfo executeRequest(OktaHttpClient client);  }### Answer:
@Test public void executeRequestSuccess() throws AuthorizationException { mEndPoint.enqueueIntrospectSuccess(); IntrospectInfo result = mRequest.executeRequest(mHttpClient); assertTrue(result.isActive()); }
@Test public void executeRequestFailure() throws AuthorizationException { mExpectedEx.expect(AuthorizationException.class); mEndPoint.enqueueReturnUnauthorizedRevoked(); mRequest.executeRequest(mHttpClient); }