ReachabilityAssertion

@TestOnly
data class ReachabilityAssertion(val from: NodeReference<*, *>, val to: NodeReference<*, *>)(source)

Represents an assertion for testing the reachability between two specific nodes in a graph.

This class is primarily used in graph-based testing contexts to verify that a directed path exists from a starting node (from) to a target node (to) within an agent graph.

Constructors

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

Properties

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

The starting node reference for the reachability assertion.

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

The target node reference for the reachability assertion.