title: How to verify with QTest that an exception is thrown?
body: <p>I'm stating in QT C++ world. I'm doing TDD using QTest class. I want to verify that in certain conditions an exception is thrown by my class under test. Using google test, I would use something like:</p>
  
  <pre><code>EXPECT_THROW(A(NULL), nullPointerException);
  </code></pre>
  
  <p>Does it exists something like this feature in QTest? O at least a way to do it?</p>
  
  <p>Thanks!</p>