PHP Класс Neos\Flow\Tests\Unit\Security\Aspect\PolicyEnforcementAspectTest

Наследование: extends Neos\Flow\Tests\UnitTestCase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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