trait CRBehavioralTestsSubjectProvider (View source)

Subject provider for behavioral tests

Properties

protected ContentRepository> $contentRepositories
static protected ContentRepositoryId[] $alreadySetUpContentRepositories

A runtime cache of all content repositories already set up, represented by their ID

protected ContentRepository|null $currentContentRepository

Methods

getContentRepository(ContentRepositoryId $contentRepositoryId)

No description

void
usingNoContentDimensions()

No description

void
usingTheFollowingContentDimensions(TableNode $contentDimensions)

No description

void
usingTheFollowingNodeTypes(PyStringNode $serializedNodeTypesConfiguration)

No description

void
usingIdentifierIDefineAContentRepository(string $contentRepositoryId)

No description

void
iChangeTheContentDimensionsInContentRepositoryTo(string $contentRepositoryId, TableNode $contentDimensions)

No description

void
iChangeTheNodeTypesInContentRepositoryTo(string $contentRepositoryId, PyStringNode $serializedNodeTypesConfiguration)

No description

setUpContentRepository(ContentRepositoryId $contentRepositoryId)

No description

createContentRepository(ContentRepositoryId $contentRepositoryId)

No description

Details

protected ContentRepository getContentRepository(ContentRepositoryId $contentRepositoryId)

No description

Parameters

ContentRepositoryId $contentRepositoryId

Return Value

ContentRepository

Exceptions

DomainException

void usingNoContentDimensions()

No description

Return Value

void

void usingTheFollowingContentDimensions(TableNode $contentDimensions)

No description

Parameters

TableNode $contentDimensions

Return Value

void

void usingTheFollowingNodeTypes(PyStringNode $serializedNodeTypesConfiguration)

No description

Parameters

PyStringNode $serializedNodeTypesConfiguration

Return Value

void

void usingIdentifierIDefineAContentRepository(string $contentRepositoryId)

No description

Parameters

string $contentRepositoryId

Return Value

void

void iChangeTheContentDimensionsInContentRepositoryTo(string $contentRepositoryId, TableNode $contentDimensions)

No description

Parameters

string $contentRepositoryId
TableNode $contentDimensions

Return Value

void

void iChangeTheNodeTypesInContentRepositoryTo(string $contentRepositoryId, PyStringNode $serializedNodeTypesConfiguration)

No description

Parameters

string $contentRepositoryId
PyStringNode $serializedNodeTypesConfiguration

Return Value

void

protected ContentRepository setUpContentRepository(ContentRepositoryId $contentRepositoryId)

No description

Parameters

ContentRepositoryId $contentRepositoryId

Return Value

ContentRepository

abstract protected ContentRepository createContentRepository(ContentRepositoryId $contentRepositoryId)

No description

Parameters

ContentRepositoryId $contentRepositoryId

Return Value

ContentRepository