Discussion :: JUnit MCQs
- ______________ method performs an action in response to an invocation.
|
A.
describeTo(Description description)
|
|
B.
invoke(Invocation invocation)
|
|
C.
perform(String script)
|
|
D.
where(String name, Object value)
|
Answer : Option B
Explanation :
invoke(Invocation invocation) returns the result of the invocation, if not throwing an exception.
Be The First To Comment

Whatsapp
Facebook