selectChildren

Returns a TestNodeCollectionSelection that further defines the current one, by defining a collection of TestNode composed by its children.

The usage of this API assumes that the previous selection materializes into a single TestNode, so that the children can be extracted from.

An example usage:

rule.selectNode(hasType<Column>())
.selectChildren()
.assertCount(2)