}
@Test
public void readValueIsufficientScope() throws Exception {
String accessToken = "{\"error\": \"insufficient_scope\", \"error_description\": \"insufficient scope\", \"scope\": \"bar foo\"}";
InsufficientScopeException result = (InsufficientScopeException) mapper.readValue(accessToken, OAuth2Exception.class);
assertEquals("insufficient scope",result.getMessage());
assertEquals("bar foo",result.getAdditionalInformation().get("scope").toString());
}