The asked me from a code example how I would implement a specific unit testing challenge
Anoniem
I basically summized that the approach would be better suited for unit testing, as apposed to an E2E way I would suggest it to be implemented in the first instance.