1.

________ checks to see if any of the contained matchers match.(a) anyOf(b) allOf(c) instanceOf(d) notNullThe question was asked during an interview.My question is taken from Hamcrest Matchers topic in portion Mastering JUnit of JUnit

Answer» CORRECT choice is (a) ANYOF

To explain I would say: The anyOf Hamcrest MATCHER is just like the || OPERATOR.


Discussion

No Comment Found

Related InterviewSolutions