assertAll

Asserts that all the nodes in the collection are matching the given matcher.

It will throw an AssertionError if there is at least one node that does not match.

Note: An empty collection with pass this assertion because it technically doesn't have any node that fails the condition.