1156 Views
If a method you're writing throws exceptions under certain circumstances, such as through guard clauses or other expected conditions, be sure to write tests to verify this behavior. The xUnit test framework has great support for this, and using Actions helps make the tests cleaner.
0 comments