PHP 클래스 Neos\Flow\Tests\Unit\Security\AccountTest

상속: extends Neos\Flow\Tests\UnitTestCase
파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$account Neos\Flow\Security\Account
$administratorRole Neos\Flow\Security\Policy\Role
$customerRole Neos\Flow\Security\Policy\Role

공개 메소드들

메소드 설명
addRoleAddsRoleToAccountIfNotAssigned ( )
addRoleSkipsRoleIfAssigned ( )
expirationDateCanBeSetNull ( )
getRolesReturnsOnlyExistingRoles ( )
hasRoleReturnsFalseForAssignedButNonExistentRole ( )
hasRoleWorks ( )
isActiveReturnsFalseIfTheAccountHasAnExpirationDateInThePast ( )
isActiveReturnsTrueIfTheAccountHasAnExpirationDateInTheFuture ( )
isActiveReturnsTrueIfTheAccountHasNoExpirationDate ( )
removeRoleRemovesRoleFromAccountIfAssigned ( )
removeRoleSkipsRemovalIfRoleNotAssigned ( )
setRolesWorks ( )
setUp ( ) Setup function for the test case

메소드 상세

addRoleAddsRoleToAccountIfNotAssigned() 공개 메소드

addRoleSkipsRoleIfAssigned() 공개 메소드

expirationDateCanBeSetNull() 공개 메소드

getRolesReturnsOnlyExistingRoles() 공개 메소드

hasRoleReturnsFalseForAssignedButNonExistentRole() 공개 메소드

hasRoleWorks() 공개 메소드

public hasRoleWorks ( )

isActiveReturnsFalseIfTheAccountHasAnExpirationDateInThePast() 공개 메소드

isActiveReturnsTrueIfTheAccountHasAnExpirationDateInTheFuture() 공개 메소드

isActiveReturnsTrueIfTheAccountHasNoExpirationDate() 공개 메소드

removeRoleRemovesRoleFromAccountIfAssigned() 공개 메소드

removeRoleSkipsRemovalIfRoleNotAssigned() 공개 메소드

setRolesWorks() 공개 메소드

public setRolesWorks ( )

setUp() 공개 메소드

Setup function for the test case
public setUp ( )

프로퍼티 상세

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

protected Account,Neos\Flow\Security $account
리턴 Neos\Flow\Security\Account

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

protected Role,Neos\Flow\Security\Policy $administratorRole
리턴 Neos\Flow\Security\Policy\Role

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

protected Role,Neos\Flow\Security\Policy $customerRole
리턴 Neos\Flow\Security\Policy\Role