colintheshots
05/25/2020, 3:52 PMFile.writeBytes()
was called. But even mocking the specific file was not working for me in the File.inputStream()
case. I couldn't explain the difference, but decided to skip mocking and verifying calls in this case in order to finish writing a test. To me, it looks like the problem could be the constructor throwing exceptions.