def METHOD_NAME(self):
    with self.assertRaises(AuthenticationFailed):
        decoded_claims, user_id = JWTAccessToken.token_data('incorrect_format', True)
    with self.assertRaises(AuthenticationFailed):
        decoded_claims, user_id = JWTAccessToken.token_data('token xyz', True)