PHP 클래스 eZ\Publish\Core\Persistence\Legacy\Tests\Content\ObjectState\ObjectStateHandlerTest

파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 프로퍼티들

프로퍼티 타입 설명
$gatewayMock eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Gateway Object state gateway mock.
$mapperMock eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Mapper Object state mapper mock.
$objectStateHandler eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Handler Object state handler.

공개 메소드들

메소드 설명
testCreate ( )
testCreateGroup ( )
testDelete ( )
testDeleteGroup ( )
testDeleteThrowsNotFoundException ( )
testGetContentCount ( )
testGetContentState ( )
testLoad ( )
testLoadAllGroups ( )
testLoadByIdentifier ( )
testLoadByIdentifierThrowsNotFoundException ( )
testLoadGroup ( )
testLoadGroupByIdentifier ( )
testLoadGroupByIdentifierThrowsNotFoundException ( )
testLoadGroupThrowsNotFoundException ( )
testLoadObjectStates ( )
testLoadThrowsNotFoundException ( )
testSetContentState ( )
testSetPriority ( )
testUpdate ( )
testUpdateGroup ( )

보호된 메소드들

메소드 설명
getGatewayMock ( ) : Gateway Returns a mock for the object state gateway.
getInputStructFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState\InputStruct Returns the InputStruct.
getMapperMock ( ) : Mapper Returns an object state mapper mock.
getObjectStateFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState Returns an object state.
getObjectStateGroupFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState\Group Returns an object state group.
getObjectStateHandler ( ) : Handler Returns the object state handler to test.

메소드 상세

getGatewayMock() 보호된 메소드

Returns a mock for the object state gateway.
protected getGatewayMock ( ) : Gateway
리턴 eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Gateway

getInputStructFixture() 보호된 메소드

Returns the InputStruct.
protected getInputStructFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState\InputStruct
리턴 eZ\Publish\SPI\Persistence\Content\ObjectState\InputStruct

getMapperMock() 보호된 메소드

Returns an object state mapper mock.
protected getMapperMock ( ) : Mapper
리턴 eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Mapper

getObjectStateFixture() 보호된 메소드

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

getObjectStateGroupFixture() 보호된 메소드

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

getObjectStateHandler() 보호된 메소드

Returns the object state handler to test.
protected getObjectStateHandler ( ) : Handler
리턴 eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Handler

testCreate() 공개 메소드

public testCreate ( )

testCreateGroup() 공개 메소드

public testCreateGroup ( )

testDelete() 공개 메소드

public testDelete ( )

testDeleteGroup() 공개 메소드

public testDeleteGroup ( )

testDeleteThrowsNotFoundException() 공개 메소드

testGetContentCount() 공개 메소드

public testGetContentCount ( )

testGetContentState() 공개 메소드

public testGetContentState ( )

testLoad() 공개 메소드

public testLoad ( )

testLoadAllGroups() 공개 메소드

public testLoadAllGroups ( )

testLoadByIdentifier() 공개 메소드

testLoadByIdentifierThrowsNotFoundException() 공개 메소드

testLoadGroup() 공개 메소드

public testLoadGroup ( )

testLoadGroupByIdentifier() 공개 메소드

testLoadGroupByIdentifierThrowsNotFoundException() 공개 메소드

testLoadGroupThrowsNotFoundException() 공개 메소드

testLoadObjectStates() 공개 메소드

testLoadThrowsNotFoundException() 공개 메소드

testSetContentState() 공개 메소드

public testSetContentState ( )

testSetPriority() 공개 메소드

public testSetPriority ( )

testUpdate() 공개 메소드

public testUpdate ( )

testUpdateGroup() 공개 메소드

public testUpdateGroup ( )

프로퍼티 상세

$gatewayMock 보호되어 있는 프로퍼티

Object state gateway mock.
protected Gateway,eZ\Publish\Core\Persistence\Legacy\Content\ObjectState $gatewayMock
리턴 eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Gateway

$mapperMock 보호되어 있는 프로퍼티

Object state mapper mock.
protected Mapper,eZ\Publish\Core\Persistence\Legacy\Content\ObjectState $mapperMock
리턴 eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Mapper

$objectStateHandler 보호되어 있는 프로퍼티

Object state handler.
protected Handler,eZ\Publish\Core\Persistence\Legacy\Content\ObjectState $objectStateHandler
리턴 eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Handler