findNodeEvents

Filters a list of FeatureMessage instances to find events of type NodeExecutionStartingEvent associated with a specific node name.

This function ensures that at least one event of the desired type exists in the list and further ensures that events with the specified node name are found. Assertions will be triggered if the conditions are not met.

Return

A list of NodeExecutionStartingEvent instances that match the provided node name.

Parameters

nodeName

The name of the node for which NodeExecutionStartingEvent instances are being searched.

Throws

If no NodeExecutionStartingEvent is present in the list or if no event matches the specified node name.