Neos\Flow\Tests\Unit\Security\Aspect\PolicyEnforcementAspectTest::enforcePolicyPassesTheGivenJoinPointOverToTheAfterInvocationInterceptor PHP Метод

enforcePolicyPassesTheGivenJoinPointOverToTheAfterInvocationInterceptor() публичный Метод

    public function enforcePolicyPassesTheGivenJoinPointOverToTheAfterInvocationInterceptor()
    {
        $this->markTestSkipped('Currently the AfterInvocationInterceptor is not used.');
        $this->mockJoinPoint->expects($this->once())->method('getAdviceChain')->will($this->returnValue($this->mockAdviceChain));
        // $this->mockAfterInvocationInterceptor->expects($this->once())->method('setJoinPoint')->with($this->mockJoinPoint);
        $this->policyEnforcementAspect->enforcePolicy($this->mockJoinPoint);
    }