GenericCommandExecutionAndEventPublication
trait GenericCommandExecutionAndEventPublication (View source)
The content stream forking feature trait for behavioral tests
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 | |
| EventStoreInterface|null | $eventStore | ||
| SubscriptionEngine|null | $subscriptionEngine |
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
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 array
readPayloadTable(TableNode $payloadTable)
No description
abstract protected EventStoreInterface
getEventStore()
No description
abstract protected PropertyValuesToWrite
deserializeProperties(array $properties)
No description
void
theCommandAddDimensionShineThroughIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandMoveDimensionSpacePointIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandCreateNodeAggregateWithNodeIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandSetNodePropertiesIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandMoveNodeAggregateIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandSetNodeReferencesIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandRemoveNodeAggregateIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandChangeNodeAggregateNameIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandChangeNodeAggregateTypeIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandCreateNodeVariantIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandCreateRootNodeAggregateWithNodeIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandUpdateRootNodeAggregateDimensionsIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandTagSubtreeIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandUntagSubtreeIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandDisableNodeAggregateIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandEnableNodeAggregateIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandCreateRootWorkspaceIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandCreateWorkspaceIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandChangeBaseWorkspaceIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandDeleteWorkspaceIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandDiscardIndividualNodesFromWorkspaceIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandDiscardWorkspaceIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandPublishIndividualNodesFromWorkspaceIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandPublishWorkspaceIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandRebaseWorkspaceIsExecutedWithPayload(TableNode $payloadTable)
No description
void
theCommandIsExecutedWithPayloadAndExceptionsAreCaught(string $shortCommandName, TableNode $payloadTable)
No description
void
theCommandIsExecutedWithJsonPayload(string $shortCommandName, string $payload)
No description
void
theCommandIsExecutedWithJsonPayloadAndExceptionsAreCaught(string $shortCommandName, string $payload)
No description
void
theFollowingCreateNodeAggregateWithNodeCommandsAreExecuted(string $shortCommandName, TableNode $table)
No description
protected array
addDefaultCommandArgumentValues(string $commandClassName, array $commandArguments)
No description
protected NodeReferencesToWrite
mapRawNodeReferencesToNodeReferencesToWrite(array $deserializedTableContent)
No description
static protected string
resolveShortCommandName(string $shortCommandName)
No description
protected void
publishEvent(string $eventType, StreamName $streamName, array $eventPayload)
No description
ContentRepositoryServiceInterface
build(ContentRepositoryServiceFactoryDependencies $serviceFactoryDependencies)
No description