Kotlin, Kotest, Property Based Testing.
initial example. In this case there is no primary data type required as input data but an DTO object with a nested structure. How to deal with this in Kotest? Kotest provides a way to compose complex data structures by so called “Arb” generators of build-in types. A first version looks like below: