ProjectedNodeAggregateTrait
trait ProjectedNodeAggregateTrait (View source)
The feature trait to test node aggregates
Traits
The node creation trait for behavioral tests
Properties
| protected ContentRepository|null | $currentContentRepository | from CRTestSuiteRuntimeVariables | |
| protected WorkspaceName|null | $currentWorkspaceName | from CRTestSuiteRuntimeVariables | |
| protected DimensionSpacePoint|null | $currentDimensionSpacePoint | from CRTestSuiteRuntimeVariables | |
| protected VisibilityConstraints|null | $currentVisibilityConstraints | from CRTestSuiteRuntimeVariables | |
| protected NodeAggregateId|null | $currentRootNodeAggregateId | from CRTestSuiteRuntimeVariables | |
| protected Exception|null | $lastCommandException | from CRTestSuiteRuntimeVariables | |
| protected Node|null | $currentNode | from CRTestSuiteRuntimeVariables | |
| protected NodeAggregate|null | $currentNodeAggregate | from CRTestSuiteRuntimeVariables | |
| protected NodeAggregateId> | $rememberedNodeAggregateIds | from CRTestSuiteRuntimeVariables |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
void
iAmInContentRepository(string $contentRepositoryId)
No description
abstract protected ContentRepository
getContentRepository(ContentRepositoryId $id)
No description
void
iAmUserIdentifiedBy(string $userId)
No description
void
theCurrentDateAndTimeIs(string $timestamp)
No description
void
iAmInWorkspace(string $workspaceName)
No description
void
iAmInDimensionSpacePoint(string $dimensionSpacePoint)
No description
void
iAmInWorkspaceAndDimensionSpacePoint(string $workspaceName, string $dimensionSpacePoint)
No description
void
visibilityConstraintsAreSetTo(string $restrictionType)
No description
ContentSubgraphInterface
getCurrentSubgraph()
No description
void
iRememberNodeAggregateIdOfNodesChildAs(string $parentNodeAggregateId, string $childNodeName, string $indexName)
No description
protected NodeAggregateId|null
getCurrentNodeAggregateId()
No description
void
iExpectTheNodeAggregateToExist(string $serializedNodeAggregateId)
No description
void
iExpectTheNodeAggregateToNotExist(string $serializedNodeAggregateId)
No description
protected void
initializeCurrentNodeAggregate(callable $query)
No description
void
iExpectThisNodeAggregateToOccupyDimensionSpacePoints(string $serializedExpectedOriginDimensionSpacePoints)
No description
void
iExpectThisNodeAggregateToCoverDimensionSpacePoints(string $serializedCoveredDimensionSpacePointSet)
No description
void
iExpectThisNodeAggregateToDisableDimensionSpacePoints(string $serializedDimensionSpacePoints, string $subtreeTag = 'disabled')
No description
void
iExpectThisNodeAggregateToBeClassifiedAs(string $serializedExpectedClassification)
No description
void
iExpectThisNodeAggregateToBeOfType(string $serializedExpectedNodeTypeName)
No description
void
iExpectThisNodeAggregateToBeUnnamed()
No description
void
iExpectThisNodeAggregateToHaveTheName(string $serializedExpectedNodeName)
No description
void
iExpectThisNodeAggregateToHaveNoParentNodeAggregates()
No description
void
iExpectThisNodeAggregateToHaveTheParentNodeAggregates(string $serializedExpectedNodeAggregateIds)
No description
void
iExpectThisNodeAggregateToHaveNoChildNodeAggregates()
No description
void
iExpectThisNodeAggregateToHaveTheChildNodeAggregates(string $serializedExpectedNodeAggregateIds)
No description
protected void
assertOnCurrentNodeAggregate(callable $assertions)
No description
protected void
expectCurrentNodeAggregate()
No description