Home / CSE MCQs / JUnit MCQs :: Discussion

Discussion :: JUnit MCQs

  1. ____________ expect the last invocation a specified number of times.
  2. A.
    times(int count)
    B.
    times(int min, int max)
    C.
    once()
    D.
    asStub()

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    times (int count) specifies the number of times to expect the last invocation via the count argument.


Be The First To Comment