Exemplo n.º 1
0
 public function testRemoveClaim()
 {
     $jwt = new Jwt($this->claims, $this->secret, $this->header);
     $jwt->removeClaim('sub');
     $this->assertTrue($jwt->getClaim('sub')->isEmpty());
 }