Switch from (expect = Exception.class) to try/catch clauses for custom exceptions. Only way it would work.