PHP Class eZ\Publish\Core\MVC\Symfony\Security\Tests\Voter\ValueObjectVoterTest

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
supportsAttributeProvider ( )
supportsClassProvider ( )
testSupportsAttribute ( $attribute, $expectedResult )
testSupportsClass ( $class )
testVote ( Attribute $attribute, $repositoryCanUser, $expectedResult )
testVoteInvalidAttribute ( array $attributes )
voteInvalidAttributeProvider ( )
voteProvider ( )

Protected Methods

Method Description
setUp ( )

Method Details

setUp() protected method

protected setUp ( )

supportsAttributeProvider() public method

supportsClassProvider() public method

testSupportsAttribute() public method

public testSupportsAttribute ( $attribute, $expectedResult )

testSupportsClass() public method

public testSupportsClass ( $class )

testVote() public method

public testVote ( Attribute $attribute, $repositoryCanUser, $expectedResult )
$attribute eZ\Publish\Core\MVC\Symfony\Security\Authorization\Attribute

testVoteInvalidAttribute() public method

public testVoteInvalidAttribute ( array $attributes )
$attributes array

voteInvalidAttributeProvider() public method

voteProvider() public method

public voteProvider ( )