The code generator simply assumes that it cannot test your test based on its return value (void), which makes sense. I think someone else mentioned that this is more of a placeholder. When it comes to writing a test, you need to decide what your criteria for passing are. You can go as easy as:
Assert.IsTrue(File.Exists(filePath));
If all you care about is an existing file, or you can dive deeper into it, check its contents and so on. It really is up to you.
source
share