SyntaxFix
Write A Post
Hire A Developer
Questions
You can even try it this way:
[TestMethod] public void ReadFiles() { try { Read(); return; // indicates success } catch (Exception ex) { Assert.Fail(ex.Message); } }