Check if a file is really a file, whether a string contains anything, and whether you can run a program with these vital patterns.
Scenarios are never the same, and neither should be your Pester scripts to test those scenarios. There are a couple of ways to account for these different scenarios. You could create a separate test ...