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

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes publiques

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

Méthodes protégées

Méthode Description
setUp ( )

Method Details

setUp() protected méthode

protected setUp ( )

supportsAttributeProvider() public méthode

supportsClassProvider() public méthode

testSupportsAttribute() public méthode

public testSupportsAttribute ( $attribute, $expectedResult )

testSupportsClass() public méthode

public testSupportsClass ( $class )

testVote() public méthode

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

testVoteInvalidAttribute() public méthode

public testVoteInvalidAttribute ( array $attributes )
$attributes array

voteInvalidAttributeProvider() public méthode

voteProvider() public méthode

public voteProvider ( )