(This is not Kotest related, so to answer your ori...
# kotest
s
(This is not Kotest related, so to answer your original question, no you can't do what you want 🙂 Either test each field individually, or have an equals method that doesn't use reference identity, and then you can use shouldBe)