}
}
@Test
public void testInvalidGrantType() throws Exception {
OAuthClientRequest request = OAuthClientRequest
.tokenLocation(Common.ACCESS_TOKEN_ENDPOINT)
.setParameter(OAuth.OAUTH_GRANT_TYPE, "unknown_grant_type")
.setCode(Common.AUTHORIZATION_CODE)
.setRedirectURI(Common.REDIRECT_URL)
.setClientId(Common.CLIENT_ID)