value)->toBe($uuid); }); it('throws exception with non v7 uuid', function (): void { // GIVEN $uuid = Uuid::uuid4(); // WHEN $action = fn () => new SessionId($uuid); // THEN expect($action)->toThrow(\DomainException::class); }); });