title: in PHPUnit how to force tearDownAfterClass() to run in case of unexpected exceptions
body: <p>So every time I encounter unexpected exceptions in PHPUnit (such as fails to insert into db because of an integrity check) my tests fail and it errors out without running <code>tearDownAfterClass()</code> function. This will leave my database in a messy state so I have to manually go and clean it up. Is there a way to ensure <code>tearDownAfterClass()</code> is always executed?</p>