def METHOD_NAME(self):
    api_key = self.create_api_key(self.user)
    payload = self.auth_token_payload(self.user, api_key.key)
    del payload['iat']
    token = self.encode_token_payload(payload, api_key.secret)
    with self.assertRaises(AuthenticationFailed) as ctx:
        jwt_auth.jwt_decode_handler(token)
    assert ctx.exception.detail == 'Invalid JWT: Token is missing the "iat" claim.'