InterviewSolution
Saved Bookmarks
| 1. |
In what order is multiple @Before annotated methods run?(a) Oldest First(b) Newest First(c) Randomly(d) According to argument listThe question was asked during an interview.My doubt stems from Testing the Controller Component topic in portion Mastering JUnit of JUnit |
|
Answer» CORRECT CHOICE is (c) Randomly Explanation: It is not certain which @Before annotated METHOD will run first as all run randomly. |
|