I am using LambdaJ and hamcrest in Java. I am wondering if there is a way to check if any item in one array is equal to any item of another array?
I have tried some configurations but I can not seem to get it right.
like this one:
arrayOne, hasItemInArray(isIn(arrayTwo));
... Does not work because it will try to match every item in arrayOne.