assertAll

Asserts that every matched node satisfies matcher. An empty match set satisfies this, as there is no node that violates the matcher; pin the size with assertCountEquals where that matters.

Return

this collection, for chaining a further assertion.

Parameters

matcher

the condition every match must satisfy; the failure describes each node that does not.