Occasionally I come accross a unit test that doesn\'t Assert anything. The particular example I came across this morning was testing that a log file got written to when a co
This would be the official way to do it:
// Act Exception ex = Record.Exception(() => someCode()); // Assert Assert.Null(ex);