Example #1
0
 /**
  * @dataProvider invalid_jwt_token_provider
  *
  * @expectedException \JoseJwt\Error\JoseJwtException
  * @expectedExceptionMessage Invalid JWT
  */
 public function test_payload_throws_on_invalid_jwt_token($token)
 {
     JWT::payload($token);
 }