UnconditionalEdgeAssertion

@TestOnly
data class UnconditionalEdgeAssertion(val node: NodeReference<*, *>, val expectedNode: NodeReference<*, *>)(source)

Represents an assertion for an unconditional edge in a graph structure.

This data class is used to verify the existence of a direct connection from the node to the expectedNode in a graph during tests. Such connections are evaluated without considering any specific conditions or outputs, ensuring that the edge is universally established.

Constructors

Link copied to clipboard
constructor(node: NodeReference<*, *>, expectedNode: NodeReference<*, *>)

Properties

Link copied to clipboard

The target node that the source node is expected to connect to.

Link copied to clipboard
val node: NodeReference<*, *>

The source node of the edge to be asserted.