Error!
Success!

Four Ways to Test Expected Exceptions

0
kicks

Four Ways to Test Expected Exceptions  (Unpublished)

For new applications, I recommend you set aside ExpectedException and use either Assert.Throws or Throws.Exception. That way, what you are testing is clearly stated right in the code, for everyone to see.


Kicked By:
Drop Kicked By: