ProjectedNodeTrait
trait ProjectedNodeTrait (View source)
The feature trait to test projected nodes
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
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
abstract protected NodeAggregateId|null
getRootNodeAggregateId()
No description
void
iGoToTheParentNodeOfNode(string $serializedNodeAggregateId)
No description
void
iGetTheNodeAtPath(string $serializedNodePath)
No description
void
iExpectANodeIdentifiedByXToExistInTheContentGraph(string $serializedNodeDiscriminator)
No description
void
iExpectNodeAggregateIdToLeadToNode(string $serializedNodeAggregateId, string $serializedNodeDiscriminator)
No description
void
iExpectNodeAggregateIdToLeadToNoNode(string $serializedNodeAggregateId)
No description
void
iExpectPathToLeadToNode(string $serializedNodePath, string $serializedNodeDiscriminator)
No description
void
iExpectPathToLeadToNoNode(string $serializedNodePath)
No description
void
iExpectNodeAggregateIdAndNodePathToLeadToNode(string $serializedNodeAggregateId, string $serializedNodePath, string $serializedNodeDiscriminator)
No description
void
iExpectNodeAggregateIdAndNodePathToLeadToNoNode(string $serializedNodeAggregateId, string $serializedNodePath)
No description
void
iExpectTheNodeWithAggregateIdentifierToBeExplicitlyTagged(string $serializedNodeAggregateId, string $serializedTag)
No description
void
iExpectTheNodeWithAggregateIdentifierToInheritTheTag(string $serializedNodeAggregateId, string $serializedTag)
No description
void
iExpectTheNodeWithAggregateIdentifierToNotContainTheTag(string $serializedNodeAggregateId, string $serializedTag)
No description
void
iExpectThisNodeToBeExactlyExplicitlyTagged(string $expectedTagList)
No description
void
iExpectThisNodeToExactlyInheritTheTags(string $expectedTagList)
No description
protected void
initializeCurrentNodeFromContentSubgraph(callable $query)
No description
void
iExpectThisNodeToBeClassifiedAs(string $serializedExpectedClassification)
No description
void
iExpectThisNodeToBeOfType(string $serializedExpectedNodeTypeName)
No description
void
iExpectThisNodeToBeNamed(string $serializedExpectedNodeName)
No description
void
iExpectThisNodeToBeUnnamed()
No description
void
iExpectThisNodeToHaveTheFollowingSerializedPropertyTypes(TableNode $expectedPropertyTypes)
No description
void
iExpectThisNodeToHaveTheFollowingProperties(TableNode $expectedProperties)
No description
void
iExpectThisNodeToHaveNoProperties()
No description
void
iExpectThisNodeToHaveTheFollowingReferences(TableNode $expectedReferences)
No description
void
iExpectThisNodeToHaveNoReferences()
No description
void
iExpectThisNodeToBeReferencedBy(TableNode $expectedReferences)
No description
void
iExpectThisNodeToNotBeReferenced()
No description
void
iExpectThisNodeToBeTheChildOfNode(string $serializedParentNodeDiscriminator)
No description
void
iExpectThisNodeToHaveNoParentNode()
No description
void
iExpectThisNodeToHaveTheFollowingChildNodes(TableNode $expectedChildNodesTable)
No description
void
iExpectThisNodeToHaveNoChildNodes()
No description
void
iExpectThisNodeToHaveTheFollowingPrecedingSiblings(TableNode $expectedPrecedingSiblingsTable)
No description
void
iExpectThisNodeToHaveNoPrecedingSiblings()
No description
void
iExpectThisNodeToHaveTheFollowingSucceedingSiblings(TableNode $expectedSucceedingSiblingsTable)
No description
void
iExpectThisNodeToHaveNoSucceedingSiblings()
No description
protected void
assertOnCurrentNode(callable $assertions)
No description
protected void
expectCurrentNode()
No description