PHP Class Symfony\Component\Security\Core\Tests\Authorization\Voter\RoleVoterTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: symfony/symfony Class Usage Examples

Public Methods

Method Description
getVoteTests ( )
testVote ( $roles, $attributes, $expected )

Protected Methods

Method Description
getToken ( array $roles )

Method Details

getToken() protected method

protected getToken ( array $roles )
$roles array

getVoteTests() public method

public getVoteTests ( )

testVote() public method

public testVote ( $roles, $attributes, $expected )