the LEGO Group interview question

The asked me from a code example how I would implement a specific unit testing challenge

Interview Answer

Anonymous

Mar 1, 2022

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.