formatClaims(['iat' => new DateTimeImmutable('@1700000000'), 'server' => ['uuid' => 'example']]); expect($claims['iat'])->toBe(1700000000); expect($claims['server'])->toBe(['uuid' => 'example']); }); test('rejects non date registered claims', function () { $this->expectException(UnexpectedValueException::class); (new TimestampDates())->formatClaims(['exp' => 'tomorrow']); });