Hamcrest library provides below methods to work with arrays.
array
hasItemInArray
arrayContaining
arrayContainingInAnyOrder
arrayWithSize
emptyArray
Previous Next Home
Related Articles
This post first appeared on Java Tutorial : Blog To Learn Java Programming, please read the originial post: here