Use Annotation Test element `expected` to specify the expected exception.