You have a method on a class that has 2 parameters, one of which is a file path, the other is irrelevant.
InterestingResult result = foo.Bar(irrelevant, filePathInfo);
In the spirit of having fast snappy unit tests, you find yourself considering refactoring this method to pull out the file path to remove the IO requirements of this test...most likely putting it into another method, so that now you would call
string dataInFile = foo.GetDataInFile(filePathInfo);
InterestingResult result = foo.Bar(irrelevant, dataInFile);
Are you crazy?...or was this a good thing?