示例#1
0
文件: JwtTest.php 项目: maarky/jwt
 public function testGetSecret_callable()
 {
     $jwt = new Jwt($this->srcJwt, function () {
         return $this->secret;
     });
     $this->assertEquals($this->secret, $jwt->getSecret()->get());
 }