Unit tests are mandatory for any business logic. But what if your business logic is parsing and processing files? Then you will need files as input in your tests. At first, I thought about making an extra wrapper around reading the file and mocking the wrapper when parsing it. However, sometimes this is more complicated…