Home / CSE MCQs / JUnit MCQs :: Discussion

Discussion :: JUnit MCQs

  1. Which Hamcrest matcher is just like the && operator?
  2. A.
    Is
    B.
    Anything
    C.
    sameInstance
    D.
    allOf

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    Checks to see if all contained matchers match (just like the && operator).


Be The First To Comment