PHP Класс eZ\Publish\Core\Persistence\Legacy\Tests\Content\Type\ContentUpdater\Action\RemoveFieldTest

Наследование: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$contentGatewayMock eZ\Publish\Core\Persistence\Legacy\Content\Gateway Content gateway mock.
$contentMapperMock eZ\Publish\Core\Persistence\Legacy\Content\Mapper
$contentStorageHandlerMock eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler Content gateway mock.
$removeFieldAction eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater\Action\RemoveField RemoveField action to test.

Открытые методы

Метод Описание
testApplyMultipleVersionsMultipleTranslations ( )
testApplyMultipleVersionsSingleTranslation ( )
testApplySingleVersionSingleTranslation ( )
testCtor ( )

Защищенные методы

Метод Описание
getContentFixture ( $versionNo, $languageCodes ) : eZ\Publish\SPI\Persistence\Content Returns a Content fixture.
getContentGatewayMock ( ) : PHPUnit_Framework_MockObject_MockObject | Gateway Returns a Content Gateway mock.
getContentMapperMock ( ) : PHPUnit_Framework_MockObject_MockObject | Mapper Returns a Content mapper mock.
getContentStorageHandlerMock ( ) : PHPUnit_Framework_MockObject_MockObject | StorageHandler Returns a Content StorageHandler mock.
getFieldDefinitionFixture ( ) : eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition Returns a FieldDefinition fixture.
getRemoveFieldAction ( ) : RemoveField Returns the RemoveField action to test.

Описание методов

getContentFixture() защищенный Метод

Returns a Content fixture.
protected getContentFixture ( $versionNo, $languageCodes ) : eZ\Publish\SPI\Persistence\Content
Результат eZ\Publish\SPI\Persistence\Content

getContentGatewayMock() защищенный Метод

Returns a Content Gateway mock.
protected getContentGatewayMock ( ) : PHPUnit_Framework_MockObject_MockObject | Gateway
Результат PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\Gateway

getContentMapperMock() защищенный Метод

Returns a Content mapper mock.
protected getContentMapperMock ( ) : PHPUnit_Framework_MockObject_MockObject | Mapper
Результат PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\Mapper

getContentStorageHandlerMock() защищенный Метод

Returns a Content StorageHandler mock.
protected getContentStorageHandlerMock ( ) : PHPUnit_Framework_MockObject_MockObject | StorageHandler
Результат PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler

getFieldDefinitionFixture() защищенный Метод

Returns a FieldDefinition fixture.
protected getFieldDefinitionFixture ( ) : eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition
Результат eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition

getRemoveFieldAction() защищенный Метод

Returns the RemoveField action to test.
protected getRemoveFieldAction ( ) : RemoveField
Результат eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater\Action\RemoveField

testApplyMultipleVersionsMultipleTranslations() публичный Метод

testApplyMultipleVersionsSingleTranslation() публичный Метод

testApplySingleVersionSingleTranslation() публичный Метод

testCtor() публичный Метод

public testCtor ( )

Описание свойств

$contentGatewayMock защищенное свойство

Content gateway mock.
protected Gateway,eZ\Publish\Core\Persistence\Legacy\Content $contentGatewayMock
Результат eZ\Publish\Core\Persistence\Legacy\Content\Gateway

$contentMapperMock защищенное свойство

protected Mapper,eZ\Publish\Core\Persistence\Legacy\Content $contentMapperMock
Результат eZ\Publish\Core\Persistence\Legacy\Content\Mapper

$contentStorageHandlerMock защищенное свойство

Content gateway mock.
protected StorageHandler,eZ\Publish\Core\Persistence\Legacy\Content $contentStorageHandlerMock
Результат eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler

$removeFieldAction защищенное свойство

RemoveField action to test.
protected RemoveField,eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater\Action $removeFieldAction
Результат eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater\Action\RemoveField