alwaysGoesTo

infix fun NodeReference<*, *>.alwaysGoesTo(targetNode: NodeReference<*, *>)(source)

Creates an assertion to verify that the current node always leads to the given target node.

Parameters

targetNode

The target node that the current node output is expected to connect to.