hamkrest
hamkrest copied to clipboard
Can't find IsIterableContainingInAnyOrder matcher
If I am missing something, what is the idiomatic way to do it HamKrest? Otherwise, are there any plans to implement this (are pull requests welcome)?
It's not implemented yet. In HamKrest, I'd call it containsAll to match contains.
PRs are welcome.
I raised this PR https://github.com/npryce/hamkrest/pull/15 (but forgot to reference issue in commit name).
containsInAnyOrder is entirely different from contains or containsAll for lists (as mentioned in https://github.com/npryce/hamkrest/issues/37) - So I would suggest calling it containsInAnyOrder as per hamcrest.