The JUnit hasItem() function is a _____________
(a) Hamcrest Matcher
(b) Instance Function
(c) JUnitMatcher
(d) Matcher
This question was addressed to me during an interview.
My question is from Need for Unit Tests topic in division Software Testing Principles of JUnit