PHP Class Neos\Flow\Tests\Unit\Aop\Pointcut\PointcutExpressionParserTest

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Show file Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$mockObjectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
$mockReflectionService Neos\Flow\Reflection\ReflectionService

Public Methods

Method Description
getArgumentConstraintsFromMethodArgumentsPatternWorks ( )
getRuntimeEvaluationConditionsFromEvaluateStringReturnsTheCorrectArrayForAnEvaluateString ( )
parseCallsParseDesignatorMethodWithTheCorrectSignaturePatternStringIfTheExpressionContainsArgumentPatterns ( )
parseCallsSpecializedMethodsToParseEachDesignator ( )
parseDesignatorClassAddsAFilterToTheGivenFilterComposite ( )
parseDesignatorClassAnnotatedWithAddsAFilterToTheGivenFilterComposite ( )
parseDesignatorClassAnnotatedWithObservesAnnotationPropertyConstraints ( )
parseDesignatorFilterAddsACustomFilterToTheGivenFilterComposite ( )
parseDesignatorFilterThrowsAnExceptionIfACustomFilterDoesNotImplementThePointcutFilterInterface ( )
parseDesignatorMethodAnnotatedWithAddsAFilterToTheGivenFilterComposite ( )
parseDesignatorMethodAnnotatedWithObservesAnnotationPropertyConstraints ( )
parseDesignatorMethodParsesVisibilityForPointcutMethodNameFilter ( )
parseDesignatorMethodThrowsAnExceptionIfTheExpressionLacksTheClassMethodArrow ( )
parseDesignatorPointcutThrowsAnExceptionIfTheExpressionLacksTheAspectClassMethodArrow ( )
parseRuntimeEvaluationsBasicallyWorks ( )
parseSplitsUpTheExpressionIntoDesignatorsAndPassesTheOperatorsToTheDesginatorParseMethod ( )
parseThrowsExceptionIfPointcutExpressionIsNotAString ( )
parseThrowsExceptionIfThePointcutExpressionContainsNoDesignator ( )
setup ( ) : void Setup

Method Details

getArgumentConstraintsFromMethodArgumentsPatternWorks() public method

getRuntimeEvaluationConditionsFromEvaluateStringReturnsTheCorrectArrayForAnEvaluateString() public method

parseCallsParseDesignatorMethodWithTheCorrectSignaturePatternStringIfTheExpressionContainsArgumentPatterns() public method

parseCallsSpecializedMethodsToParseEachDesignator() public method

parseDesignatorClassAddsAFilterToTheGivenFilterComposite() public method

parseDesignatorClassAnnotatedWithAddsAFilterToTheGivenFilterComposite() public method

parseDesignatorClassAnnotatedWithObservesAnnotationPropertyConstraints() public method

parseDesignatorFilterAddsACustomFilterToTheGivenFilterComposite() public method

parseDesignatorFilterThrowsAnExceptionIfACustomFilterDoesNotImplementThePointcutFilterInterface() public method

parseDesignatorMethodAnnotatedWithAddsAFilterToTheGivenFilterComposite() public method

parseDesignatorMethodAnnotatedWithObservesAnnotationPropertyConstraints() public method

parseDesignatorMethodParsesVisibilityForPointcutMethodNameFilter() public method

parseDesignatorMethodThrowsAnExceptionIfTheExpressionLacksTheClassMethodArrow() public method

parseDesignatorPointcutThrowsAnExceptionIfTheExpressionLacksTheAspectClassMethodArrow() public method

parseRuntimeEvaluationsBasicallyWorks() public method

parseSplitsUpTheExpressionIntoDesignatorsAndPassesTheOperatorsToTheDesginatorParseMethod() public method

parseThrowsExceptionIfPointcutExpressionIsNotAString() public method

parseThrowsExceptionIfThePointcutExpressionContainsNoDesignator() public method

setup() public method

Setup
public setup ( ) : void
return void

Property Details

$mockObjectManager protected property

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $mockObjectManager
return Neos\Flow\ObjectManagement\ObjectManagerInterface

$mockReflectionService protected property

protected ReflectionService,Neos\Flow\Reflection $mockReflectionService
return Neos\Flow\Reflection\ReflectionService