Class

eZ\Bundle\EzPublishRestBundle\Features\Context\UserContentContext

class UserContentContext extends RawMinkContext implements Context, SnippetAcceptingContext, MinkAwareContext

Methods

__construct(ContentService $contentService, ContentTypeService $contentTypeService, UserService $userService)

gatherContexts(BeforeScenarioScope $scope)

iSetTheContentToUserContentCreateStruct()

itContainsAContentOfContentType($contentTypeIdentifier)

itContainsAVersionOfContentType($contentTypeIdentifier)

aUserWithTheSameIdExists()

iSendAPublishRequestForThisContent()

thereIsAUserContent()

iCreateDeleteRequestForThisContent()

theUserThisContentReferredToIsDeleted()

theContentHasTheStatus($statusString)

iCreateADraftOfThisContent()

iCreateAnEditRequestForThisDraft()

iSetTheEmailFieldToNewValue()

theUserSEmailWasUpdatedToTheNewValue()

Details

at line 52
public __construct(ContentService $contentService, ContentTypeService $contentTypeService, UserService $userService)

Parameters

ContentService $contentService
ContentTypeService $contentTypeService
UserService $userService

at line 60
public gatherContexts(BeforeScenarioScope $scope)

Parameters

BeforeScenarioScope $scope

at line 69
public iSetTheContentToUserContentCreateStruct()

at line 96
public itContainsAContentOfContentType($contentTypeIdentifier)

Parameters

$contentTypeIdentifier

at line 111
public itContainsAVersionOfContentType($contentTypeIdentifier)

Parameters

$contentTypeIdentifier

at line 128
public aUserWithTheSameIdExists()

at line 139
public iSendAPublishRequestForThisContent()

at line 150
public thereIsAUserContent()

at line 168
public iCreateDeleteRequestForThisContent()

at line 176
public theUserThisContentReferredToIsDeleted()

at line 190
public theContentHasTheStatus($statusString)

Parameters

$statusString

at line 211
public iCreateADraftOfThisContent()

at line 220
public iCreateAnEditRequestForThisDraft()

at line 239
public iSetTheEmailFieldToNewValue()

at line 249
public theUserSEmailWasUpdatedToTheNewValue()