Property | Type | Description | |
---|---|---|---|
$gatewayMock | Gateway mock. | ||
$mapperMock | Mapper mock. | ||
$updateHandlerMock | Update\Handler mock. |
Method | Description | |
---|---|---|
getUpdateHandlerMock ( ) : |
Returns a Update\Handler mock. | |
testAddFieldDefinition ( ) | ||
testCopy ( ) | ||
testCreate ( ) | ||
testCreateGroup ( ) | ||
testCreateVersion ( ) | ||
testCtor ( ) | ||
testDeleteGroupFailure ( ) | ||
testDeleteGroupSuccess ( ) | ||
testDeleteSuccess ( ) | ||
testDeleteThrowsBadStateException ( ) | ||
testGetContentCount ( ) | ||
testGetFieldDefinition ( ) | ||
testLink ( ) | ||
testLoad ( ) | ||
testLoadAllGroups ( ) | ||
testLoadByIdentifier ( ) | ||
testLoadByRemoteId ( ) | ||
testLoadContentTypes ( ) | ||
testLoadDefaultVersion ( ) | ||
testLoadGroup ( ) | ||
testLoadGroupByIdentifier ( ) | ||
testLoadNotFound ( ) | ||
testPublish ( ) | ||
testPublishNoOldType ( ) | ||
testRemoveFieldDefinition ( ) | ||
testUnlinkFailure ( ) | ||
testUnlinkSuccess ( ) | ||
testUpdate ( ) | ||
testUpdateFieldDefinition ( ) | ||
testUpdateGroup ( ) |
Method | Description | |
---|---|---|
getContentTypeCreateStructFixture ( ) : eZ\Publish\SPI\Persistence\Content\Type\CreateStruct | Returns a CreateStruct fixture. | |
getGatewayMock ( ) : |
Returns a gateway mock. | |
getHandler ( ) : |
Returns a handler to test, based on mock objects. | |
getMapperMock ( array $methods = [] ) : |
Returns a mapper mock. | |
getPartlyMockedHandler ( array $methods ) : |
Returns a handler to test with $methods mocked. |
protected getContentTypeCreateStructFixture ( ) : eZ\Publish\SPI\Persistence\Content\Type\CreateStruct | ||
return | eZ\Publish\SPI\Persistence\Content\Type\CreateStruct |
protected getGatewayMock ( ) : |
||
return |
protected getHandler ( ) : |
||
return |
protected getMapperMock ( array $methods = [] ) : |
||
$methods | array | |
return |
protected getPartlyMockedHandler ( array $methods ) : |
||
$methods | array | |
return |
public getUpdateHandlerMock ( ) : |
||
return |
protected Gateway,eZ\Publish\Core\Persistence\Legacy\Content\Type $gatewayMock | ||
return |
protected Mapper,eZ\Publish\Core\Persistence\Legacy\Content\Type $mapperMock | ||
return |