SubGraphAssertions

@TestOnly
data class SubGraphAssertions(val subgraphRef: NodeReference.SubgraphNode<*, *>, val graphAssertions: GraphAssertions)(source)

Encapsulates assertions for a subgraph within a graph testing framework.

This class links a specific subgraph, represented by a SubgraphNode, with its corresponding graph-wide assertions. It is intended to facilitate hierarchical testing and validation of graph components in isolation or as part of a larger graph structure.

Constructors

Link copied to clipboard
constructor(subgraphRef: NodeReference.SubgraphNode<*, *>, graphAssertions: GraphAssertions)

Properties

Link copied to clipboard

Graph-wide assertions relevant to the subgraph.

Link copied to clipboard

Reference to the subgraph being asserted, represented as a SubgraphNode.