[TASK] Change an \Exception to \RuntimeException
[TASK] Refactor test-unfriendly code points to separate methods
[TASK] Add a basic dry-run test of ExtensionGenerator