Home / CSE MCQs / JUnit MCQs :: Discussion

Discussion :: JUnit MCQs

  1. ______________ Hamcrest matcher can be used to match absolutely everything.
  2. A.
    Is
    B.
    AnyOf
    C.
    Anything
    D.
    Not

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    Matches absolutely anything. Useful in some cases where one wants to make the assert statement more readable.


Be The First To Comment