Please remove the annotation and use `$this->setExpectedException(...)` immediately prior to the statement that would raise the exception.