I’m probably missing some nuance due to the example being generic, but it sounds like what you want is a test of process_file_result, not one for build:
- you want to set an input string for it during test setup
- you want to inspect the output
No mocks needed in that case…






















