PHP 클래스 Neos\Flow\Tests\Unit\Security\Aspect\PolicyEnforcementAspectTest

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

보호된 프로퍼티들

프로퍼티 타입 설명
$mockAdviceChain Neos\Flow\Aop\Advice\AdviceChain
$mockJoinPoint Neos\Flow\Aop\JoinPointInterface
$mockPolicyEnforcementInterceptor Neos\Flow\Security\Authorization\Interceptor\PolicyEnforcement
$mockSecurityContext Neos\Flow\Security\Context
$policyEnforcementAspect Neos\Flow\Security\Aspect\PolicyEnforcementAspect

공개 메소드들

메소드 설명
enforcePolicyCallsTheAdviceChainCorrectly ( )
enforcePolicyCallsThePolicyEnforcementInterceptorCorrectly ( )
enforcePolicyCallsTheTheAfterInvocationInterceptorCorrectly ( )
enforcePolicyDoesNotInvokeInterceptorIfAuthorizationChecksAreDisabled ( )
enforcePolicyPassesTheGivenJoinPointOverToTheAfterInvocationInterceptor ( )
enforcePolicyPassesTheGivenJoinPointOverToThePolicyEnforcementInterceptor ( )
enforcePolicyPassesTheReturnValueOfTheInterceptedMethodOverToTheAfterInvocationInterceptor ( )
enforcePolicyReturnsTheResultOfTheOriginalMethodCorrectly ( )
setUp ( )

메소드 상세

enforcePolicyCallsTheAdviceChainCorrectly() 공개 메소드

enforcePolicyCallsThePolicyEnforcementInterceptorCorrectly() 공개 메소드

enforcePolicyCallsTheTheAfterInvocationInterceptorCorrectly() 공개 메소드

enforcePolicyDoesNotInvokeInterceptorIfAuthorizationChecksAreDisabled() 공개 메소드

enforcePolicyPassesTheGivenJoinPointOverToTheAfterInvocationInterceptor() 공개 메소드

enforcePolicyPassesTheGivenJoinPointOverToThePolicyEnforcementInterceptor() 공개 메소드

enforcePolicyPassesTheReturnValueOfTheInterceptedMethodOverToTheAfterInvocationInterceptor() 공개 메소드

enforcePolicyReturnsTheResultOfTheOriginalMethodCorrectly() 공개 메소드

setUp() 공개 메소드

public setUp ( )

프로퍼티 상세

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

protected AdviceChain,Neos\Flow\Aop\Advice $mockAdviceChain
리턴 Neos\Flow\Aop\Advice\AdviceChain

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

protected JoinPointInterface,Neos\Flow\Aop $mockJoinPoint
리턴 Neos\Flow\Aop\JoinPointInterface

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

protected PolicyEnforcement,Neos\Flow\Security\Authorization\Interceptor $mockPolicyEnforcementInterceptor
리턴 Neos\Flow\Security\Authorization\Interceptor\PolicyEnforcement

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

protected Context,Neos\Flow\Security $mockSecurityContext
리턴 Neos\Flow\Security\Context

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

protected PolicyEnforcementAspect,Neos\Flow\Security\Aspect $policyEnforcementAspect
리턴 Neos\Flow\Security\Aspect\PolicyEnforcementAspect