3 ms·
If it's just a parser you need to test, there is no need for DI - just give the parser some files to chew on, and test it directly. If the "parser" has built-i
by DenisM 10y ago
If it's just a parser you need to test, there is no need for DI - just give the parser some files to chew on, and test it directly.
If the "parser" has built-in logic to orchestrate remote file retrieval over FTP then DI is warranted, as per the other part of my previous answer.