LOG.debug("{}", e.toString());
}
+ @Test
+ public void testError2200()
+ {
+ String str ="{\"error\":{\"message\":\"An active access token must be used to query information about the current user.\",\"type\":\"OAuthException\",\"code\":2500,\"fbtrace_id\":\"AUmMHJlVYvTbQrBT11Dk104\"}}";
+ byte[] message = str.getBytes();
+ GraphApiException e = GraphApiException.create (status, headers, message);
+
+ assertTrue(e.getClass().equals(ActiveAccessTokenMissingException.class));
+ LOG.debug("{}", e.toString());
+ }
+
@Test
public void testUnmappedError()
{