PHP Class eZ\Publish\Core\Persistence\Legacy\Tests\Content\ObjectState\MapperTest

Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
testCreateObjectStateFromData ( )
testCreateObjectStateFromInputStruct ( )
testCreateObjectStateGroupFromData ( )
testCreateObjectStateGroupFromInputStruct ( )
testCreateObjectStateGroupListFromData ( )
testCreateObjectStateListFromData ( )

Protected Methods

Method Description
getMapper ( ) : Mapper Returns a Mapper.
getObjectStateFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState Returns an object state fixture.
getObjectStateGroupFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState\Group Returns an object state group fixture.
getObjectStateGroupInputStructFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState\InputStruct Returns the InputStruct fixture for creating object state groups.
getObjectStateGroupRowsFixture ( ) : array[][] Returns an object state group result rows fixture.
getObjectStateInputStructFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState\InputStruct Returns the InputStruct fixture for creating object states.
getObjectStateRowsFixture ( ) : array[][] Returns an object state result rows fixture.

Method Details

getMapper() protected method

Returns a Mapper.
protected getMapper ( ) : Mapper
return eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Mapper

getObjectStateFixture() protected method

Returns an object state fixture.
protected getObjectStateFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState
return eZ\Publish\SPI\Persistence\Content\ObjectState

getObjectStateGroupFixture() protected method

Returns an object state group fixture.
protected getObjectStateGroupFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState\Group
return eZ\Publish\SPI\Persistence\Content\ObjectState\Group

getObjectStateGroupInputStructFixture() protected method

Returns the InputStruct fixture for creating object state groups.
protected getObjectStateGroupInputStructFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState\InputStruct
return eZ\Publish\SPI\Persistence\Content\ObjectState\InputStruct

getObjectStateGroupRowsFixture() protected method

Returns an object state group result rows fixture.
protected getObjectStateGroupRowsFixture ( ) : array[][]
return array[][]

getObjectStateInputStructFixture() protected method

Returns the InputStruct fixture for creating object states.
protected getObjectStateInputStructFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState\InputStruct
return eZ\Publish\SPI\Persistence\Content\ObjectState\InputStruct

getObjectStateRowsFixture() protected method

Returns an object state result rows fixture.
protected getObjectStateRowsFixture ( ) : array[][]
return array[][]

testCreateObjectStateFromData() public method

testCreateObjectStateFromInputStruct() public method

testCreateObjectStateGroupFromData() public method

testCreateObjectStateGroupFromInputStruct() public method

testCreateObjectStateGroupListFromData() public method

testCreateObjectStateListFromData() public method