anchor.diff:      (assert-true (proto-impl::proto-lazy-p inner-field))))
   
   (deftest test-lazy-field-serialize (lazy-tests)
  -  (let* ((proto (proto-impl:make-object container
  -                                        :value-before 10
  -                                        :inner (proto-impl:make-object
  -                                                inner :value 42)
  -                                        :value-after 20))
  +  (let* ((proto (make-container
  +                 :value-before 10
  +                 :inner (make-inner :value 42)
  +                 :value-after 20))
            (bytes (proto:serialize-object-to-bytes proto))
            (restored (proto:deserialize-object-from-bytes 'container bytes)))
       ;; The original proto doesn't have encoded field.
  
positive.code:     (assert-true (equalp bytes (proto:serialize-object-to-bytes restored)))))
  
  (deftest test-recursive-lazy (lazy-tests)
    (let* ((inner (proto-impl:make-object inner :value 123))
           (rec-lazy (proto-impl:make-object recursively-lazy :inner inner))
           (container2 (proto-impl:make-object container2
                                               :rec-lazy rec-lazy))
           (cntnr-bytes (proto:serialize-object-to-bytes container2))
           (restored-cntnr (proto:deserialize-object-from-bytes 'container2 cntnr-bytes)))
      (assert-true (proto:encoded-field restored-cntnr 'rec-lazy))
  
negative.code:         (assert-true (= 5678 (value (inner updated-restored))))))))
  
  (deftest test-required-lazy (lazy-tests)
    (let* ((proto (make-required-lazy
                   :inner (make-inner :value 42)))
           (bytes (proto:serialize-object-to-bytes proto))
           (restored (proto:deserialize-object-from-bytes 'required-lazy bytes)))
      (assert-true (= 42 (value (inner restored))))))
  
  (deftest test-repeated-lazy (lazy-tests)
    (let* ((inners (loop for i from 0 below 5 collect (make-inner :value i)))
           (proto (make-repeated-lazy :inners inners))
           (bytes (proto:serialize-object-to-bytes proto))
           (restored (proto:deserialize-object-from-bytes 'repeated-lazy bytes))
           (encoded-bytes (proto:encoded-field restored 'inners)))
  