In Spring, instead of creating functions that create fake responses, is there something like what they call “factories” (in other frameworks) that can create responses with the Faker librairie ? Something like this:
https://docs.adonisjs.com/guides/models/factories ?