You won't believe how meta this is

Instead of asserting a predefined list of expected outputs matches the output
of the UUT, generate the expected output.

To ensure the generated expected output is correct, compare it to a list of
predefined values.
what is this static nonsense? i think there needs to be a ModuleRegistryFactory which can be used to obtain a singleton instance of ModuleRegistry