PHP Class Neos\Flow\Tests\Unit\Property\PropertyMappingConfigurationTest

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

Protected Properties

Property Type Description
$propertyMappingConfiguration Neos\Flow\Property\PropertyMappingConfiguration

Public Methods

Method Description
fluentInterfaceMethodsDataProvider ( ) : array
forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithForProperty ( )
forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithGetConfigurationFor ( )
forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithShouldMap ( )
getTargetPropertyNameShouldRespectMapping ( )
getTargetPropertyNameShouldReturnTheUnmodifiedPropertyNameWithoutConfiguration ( )
getTypeConverterReturnsNullIfNoTypeConverterSet ( )
getTypeConverterReturnsTypeConverterIfItHasBeenSet ( )
nonexistentTypeConverterOptionsReturnNull ( )
respectiveMethodsProvideFluentInterface ( $methodToTestForFluentInterface, array $argumentsForMethod = [] )
setTypeConverterOptionShouldOverrideAlreadySetOptions ( )
setTypeConverterOptionsCanBeRetrievedAgain ( )
setTypeConverterOptionsShouldOverrideAlreadySetOptions ( )
setUp ( ) Initialization
shouldMapReturnsFalseByDefault ( )
shouldMapReturnsFalseForBlacklistedProperties ( )
shouldMapReturnsTrueForAllowedProperties ( )
shouldMapReturnsTrueIfConfigured ( )
shouldSkipReturnsFalseByDefault ( )
shouldSkipReturnsTrueIfConfigured ( )

Protected Methods

Method Description
buildChildConfigurationForSingleProperty ( ) : PropertyMappingConfiguration

Method Details

buildChildConfigurationForSingleProperty() protected method

protected buildChildConfigurationForSingleProperty ( ) : PropertyMappingConfiguration
return Neos\Flow\Property\PropertyMappingConfiguration

fluentInterfaceMethodsDataProvider() public method

public fluentInterfaceMethodsDataProvider ( ) : array
return array Signature: $methodToTestForFluentInterface [, $argumentsForMethod = array() ]

forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithForProperty() public method

forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithGetConfigurationFor() public method

forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithShouldMap() public method

getTargetPropertyNameShouldRespectMapping() public method

getTargetPropertyNameShouldReturnTheUnmodifiedPropertyNameWithoutConfiguration() public method

getTypeConverterReturnsNullIfNoTypeConverterSet() public method

getTypeConverterReturnsTypeConverterIfItHasBeenSet() public method

nonexistentTypeConverterOptionsReturnNull() public method

respectiveMethodsProvideFluentInterface() public method

public respectiveMethodsProvideFluentInterface ( $methodToTestForFluentInterface, array $argumentsForMethod = [] )
$argumentsForMethod array

setTypeConverterOptionShouldOverrideAlreadySetOptions() public method

setTypeConverterOptionsCanBeRetrievedAgain() public method

setTypeConverterOptionsShouldOverrideAlreadySetOptions() public method

setUp() public method

Initialization
public setUp ( )

shouldMapReturnsFalseByDefault() public method

shouldMapReturnsFalseForBlacklistedProperties() public method

shouldMapReturnsTrueForAllowedProperties() public method

shouldMapReturnsTrueIfConfigured() public method

shouldSkipReturnsFalseByDefault() public method

shouldSkipReturnsTrueIfConfigured() public method

Property Details

$propertyMappingConfiguration protected property

protected PropertyMappingConfiguration,Neos\Flow\Property $propertyMappingConfiguration
return Neos\Flow\Property\PropertyMappingConfiguration