...
In this implementation of the test System.IO.File we want to use java.nio.file.Files
object. But wait, Systemjava.nio.
IOfile.
FileFiles.ReadLines()
is a class-level operation and not an object-level operation. Most mocking frameworks struggle with mocking class-level methods.
...