Maven - Online Exam Test Papers | Maven - MCQs[multiple choice questions and answers ] | Maven - Mock Test Papers | Maven - Practice Papers | Maven - Sample Test Papers |

Question:
Which attribute is added to the @Test annotation so that the test passes when an expected exception is thrown?

1.exception

2.throws

3.expected

4.expectedException

Posted Date:-2022-01-08 08:11:53


More MCQS Questions and answers

Search