Property | Type | Description | |
---|---|---|---|
$addFieldAction | AddField action to test. | ||
$contentGatewayMock | Content gateway mock. | ||
$contentMapperMock | |||
$contentStorageHandlerMock | Content gateway mock. | ||
$fieldValueConverterMock | eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter | FieldValue converter mock. |
Method | Description | |
---|---|---|
getFieldReference ( integer $id, integer $versionNo, string $languageCode ) : eZ\Publish\SPI\Persistence\Content\Field | Returns a reference Field. | |
testApplyMultipleVersionsMultipleTranslations ( ) | ||
testApplyMultipleVersionsSingleTranslation ( ) | ||
testApplySingleVersionMultipleTranslations ( ) | ||
testApplySingleVersionSingleTranslation ( ) | ||
testCtor ( ) | ||
testInsertExistingField ( ) | ||
testInsertExistingFieldUpdating ( ) | ||
testInsertNewField ( ) | ||
testInsertNewFieldUpdating ( ) |
Method | Description | |
---|---|---|
getContentFixture ( integer $versionNo, array $languageCodes ) : eZ\Publish\SPI\Persistence\Content | Returns a Content fixture. | |
getContentGatewayMock ( ) : PHPUnit_Framework_MockObject_MockObject | |
Returns a Content Gateway mock. | |
getContentMapperMock ( ) : PHPUnit_Framework_MockObject_MockObject | |
Returns a Content mapper mock. | |
getContentStorageHandlerMock ( ) : PHPUnit_Framework_MockObject_MockObject | |
Returns a Content StorageHandler mock. | |
getFieldDefinitionFixture ( ) : eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition | Returns a FieldDefinition fixture. | |
getFieldValueConverterMock ( ) : PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter | Returns a FieldValue converter mock. | |
getMockedAction ( $methods = [] ) : PHPUnit_Framework_MockObject_MockObject | |
protected getContentFixture ( integer $versionNo, array $languageCodes ) : eZ\Publish\SPI\Persistence\Content | ||
$versionNo | integer | |
$languageCodes | array | |
return | eZ\Publish\SPI\Persistence\Content |
protected getContentGatewayMock ( ) : PHPUnit_Framework_MockObject_MockObject | |
||
return | PHPUnit_Framework_MockObject_MockObject | |
protected getContentMapperMock ( ) : PHPUnit_Framework_MockObject_MockObject | |
||
return | PHPUnit_Framework_MockObject_MockObject | |
protected getContentStorageHandlerMock ( ) : PHPUnit_Framework_MockObject_MockObject | |
||
return | PHPUnit_Framework_MockObject_MockObject | |
protected getFieldDefinitionFixture ( ) : eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition | ||
return | eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition |
protected getFieldValueConverterMock ( ) : PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter | ||
return | PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter |
protected getMockedAction ( $methods = [] ) : PHPUnit_Framework_MockObject_MockObject | |
||
$methods | ||
return | PHPUnit_Framework_MockObject_MockObject | |
public testApplyMultipleVersionsSingleTranslation ( ) |
public testApplySingleVersionMultipleTranslations ( ) |
public testApplySingleVersionSingleTranslation ( ) |
protected AddField,eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater\Action $addFieldAction | ||
return |
protected Gateway,eZ\Publish\Core\Persistence\Legacy\Content $contentGatewayMock | ||
return |
protected Mapper,eZ\Publish\Core\Persistence\Legacy\Content $contentMapperMock | ||
return |
protected StorageHandler,eZ\Publish\Core\Persistence\Legacy\Content $contentStorageHandlerMock | ||
return |