you should use ``@expectedException`` instead IMO