Home / CSE MCQs / JUnit MCQs :: Discussion

Discussion :: JUnit MCQs

  1. ______________ method performs an action in response to an invocation.
  2. A.
    describeTo(Description description)
    B.
    invoke(Invocation invocation)
    C.
    perform(String script)
    D.
    where(String name, Object value)

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    invoke(Invocation invocation) returns the result of the invocation, if not throwing an exception.


Be The First To Comment