.setClientSecret(Common.CLIENT_SECRET)
.setUsername(Common.USERNAME)
.setPassword(Common.PASSWORD)
.buildBodyMessage();
OAuthClient oAuthClient = new OAuthClient(new URLConnectionClient());
OAuthClientResponse response = null;
try {
oAuthClient.accessToken(request);
fail("exception expected");
} catch (OAuthProblemException e) {
assertEquals(OAuthError.TokenResponse.INVALID_CLIENT, e.getError());
}