### Question:
HttpRequestBuilder { public static RevokeToken newRevokeTokenRequest() { return new RevokeToken().requestType(REVOKE_TOKEN); }  static Authorized newAuthorizedRequest(); static Configuration newConfigurationRequest(); static TokenExchange newTokenRequest(); static RevokeToken newRevokeTokenRequest(); static Profile newProfileRequest(); static RefreshToken newRefreshTokenRequest(); static Introspect newIntrospectRequest();  }### Answer:
@Test public void createInvalidRevokeRequest() throws AuthorizationException { mExpectedEx.expect(AuthorizationException.class); mExpectedEx.expectMessage("Invalid token"); HttpRequestBuilder.newRevokeTokenRequest() .providerConfiguration(mConfiguration) .config(mConfig) .createRequest(); }
@Test public void createRevokeRequest() throws AuthorizationException { RevokeTokenRequest request = HttpRequestBuilder.newRevokeTokenRequest() .providerConfiguration(mConfiguration) .tokenToRevoke(mTokenResponse.getAccessToken()) .tokenToRevoke(ACCESS_TOKEN) .config(mConfig) .createRequest(); assertNotNull(request); assertTrue(request.toString().contains(RequestType.REVOKE_TOKEN.toString())); }