MCQOPTIONS
Saved Bookmarks
| 1. |
Which attribute is added to the @Test annotation so that the test passes when an expected exception is thrown? |
| A. | exception |
| B. | throws |
| C. | expected |
| D. | expectedException |
| Answer» D. expectedException | |