### Question:
HttpRequestBuilder { public static Configuration newConfigurationRequest() { return new Configuration().requestType(CONFIGURATION); }  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 createInvalidConfigurationRequest() throws AuthorizationException { mExpectedEx.expect(AuthorizationException.class); mExpectedEx.expectMessage("Invalid config"); HttpRequestBuilder.newConfigurationRequest().createRequest(); }
@Test public void createConfigurationRequest() throws AuthorizationException { ConfigurationRequest request = HttpRequestBuilder.newConfigurationRequest() .config(mConfig) .createRequest(); assertNotNull(request); assertTrue(request.toString().contains(RequestType.CONFIGURATION.toString())); }