/** * @dataProvider invalid_jwt_token_provider * * @expectedException \JoseJwt\Error\JoseJwtException * @expectedExceptionMessage Invalid header */ public function test_header_throws_on_invalid_header() { JWT::header('aaa.bbb.ccc'); }