Home / CSE MCQs / JUnit MCQs :: Discussion

Discussion :: JUnit MCQs

  1. ______________ create a new capture instance that will keep only the last captured value.
  2. A.
    newCapture()
    B.
    makeThreadSafe()
    C.
    createNiceControl()
    D.
    createNiceMock(Class toMock)

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    The newCapture method without arguments creates a new capture.


Be The First To Comment