public function testHasExpired() { $jwt = new Castle_JWT(); $jwt->setHeader(array('exp' => time() + 60)); $this->assertFalse($jwt->hasExpired()); }