.setCode(Common.AUTHORIZATION_CODE)
.setRedirectURI(Common.REDIRECT_URL)
.setClientId(Common.CLIENT_ID)
.buildBodyMessage();
OAuthClient oAuthclient = new OAuthClient(new URLConnectionClient());
try {
oAuthclient.accessToken(request);
fail("exception expected");
} catch (OAuthProblemException e) {
assertEquals(OAuthError.TokenResponse.INVALID_REQUEST, e.getError());
}