PHP Class eZ\Publish\Core\Persistence\Legacy\Tests\Content\Section\SectionHandlerTest

Show file Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$gatewayMock eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway Section gateway mock.
$sectionHandler eZ\Publish\Core\Persistence\Legacy\Content\Section\Handler Section handler.

Public Methods

Method Description
testAssign ( )
testCountRoleAssignmentsUsingSection ( )
testCreate ( )
testDelete ( )
testDeleteFailure ( )
testLoad ( )
testLoadAll ( )
testLoadByIdentifier ( )
testPoliciesCount ( )
testUpdate ( )

Protected Methods

Method Description
getGatewayMock ( ) : Gateway Returns a mock for the section gateway.
getSectionHandler ( ) : Handler Returns the section handler to test.

Method Details

getGatewayMock() protected method

Returns a mock for the section gateway.
protected getGatewayMock ( ) : Gateway
return eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway

getSectionHandler() protected method

Returns the section handler to test.
protected getSectionHandler ( ) : Handler
return eZ\Publish\Core\Persistence\Legacy\Content\Section\Handler

testAssign() public method

public testAssign ( )

testCountRoleAssignmentsUsingSection() public method

testCreate() public method

public testCreate ( )

testDelete() public method

public testDelete ( )

testDeleteFailure() public method

public testDeleteFailure ( )

testLoad() public method

public testLoad ( )

testLoadAll() public method

public testLoadAll ( )

testLoadByIdentifier() public method

testPoliciesCount() public method

public testPoliciesCount ( )

testUpdate() public method

public testUpdate ( )

Property Details

$gatewayMock protected property

Section gateway mock.
protected Gateway,eZ\Publish\Core\Persistence\Legacy\Content\Section $gatewayMock
return eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway

$sectionHandler protected property

Section handler.
protected Handler,eZ\Publish\Core\Persistence\Legacy\Content\Section $sectionHandler
return eZ\Publish\Core\Persistence\Legacy\Content\Section\Handler