title: Use NUnit Assert.Throws method or ExpectedException attribute?
body: <p>I have discovered that these seem to be the two main ways of testing for exceptions:</p>
  
  <pre><code>Assert.Throws&lt;Exception&gt;(()=&gt;MethodThatThrows());
  
  [ExpectedException(typeof(Exception))]
  </code></pre>
  
  <p>Which of these would be best? Does one offer advantages over the other? Or is it simply a matter of personal preference? </p>