oAuthResponse.getLocationUri());
}
@Test
public void testErrorResponse2() throws Exception {
OAuthProblemException ex = OAuthProblemException
.error(OAuthError.CodeResponse.ACCESS_DENIED, "Access denied")
.setParameter("testparameter", "testparameter_value")
.scope("album")
.uri("http://www.example.com/error");