assertCountEquals

Asserts that exactly expected nodes match.

Return

this collection, for chaining a further assertion.

Parameters

expected

the number of matches required; the failure names the count found and dumps the tree.