TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
PropertyMappingConfigurationTest Class Reference
Inheritance diagram for PropertyMappingConfigurationTest:
UnitTestCase BaseTestCase

Public Member Functions

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

Protected Member Functions

 setUp ()
 
 buildChildConfigurationForSingleProperty ()
 
- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Protected Attributes

 $propertyMappingConfiguration
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Test case

Definition at line 27 of file PropertyMappingConfigurationTest.php.

Member Function Documentation

buildChildConfigurationForSingleProperty ( )
protected
Returns

Definition at line 185 of file PropertyMappingConfigurationTest.php.

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

Definition at line 206 of file PropertyMappingConfigurationTest.php.

forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithForProperty ( )
Test:

Definition at line 246 of file PropertyMappingConfigurationTest.php.

forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithGetConfigurationFor ( )
Test:

Definition at line 234 of file PropertyMappingConfigurationTest.php.

forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithShouldMap ( )
Test:

Definition at line 258 of file PropertyMappingConfigurationTest.php.

getTargetPropertyNameShouldRespectMapping ( )
Test:

Definition at line 196 of file PropertyMappingConfigurationTest.php.

getTargetPropertyNameShouldReturnTheUnmodifiedPropertyNameWithoutConfiguration ( )
Test:
::getTargetPropertyName

Definition at line 46 of file PropertyMappingConfigurationTest.php.

getTypeConverterReturnsNullIfNoTypeConverterSet ( )
Test:

Definition at line 167 of file PropertyMappingConfigurationTest.php.

getTypeConverterReturnsTypeConverterIfItHasBeenSet ( )
Test:

Definition at line 175 of file PropertyMappingConfigurationTest.php.

nonexistentTypeConverterOptionsReturnNull ( )
Test:

Definition at line 133 of file PropertyMappingConfigurationTest.php.

respectiveMethodsProvideFluentInterface (   $methodToTestForFluentInterface,
array  $argumentsForMethod = [] 
)
Test:
fluentInterfaceMethodsDataProvider

Definition at line 225 of file PropertyMappingConfigurationTest.php.

setTypeConverterOptionsCanBeRetrievedAgain ( )
Test:

Definition at line 121 of file PropertyMappingConfigurationTest.php.

setTypeConverterOptionShouldOverrideAlreadySetOptions ( )
Test:

Definition at line 154 of file PropertyMappingConfigurationTest.php.

setTypeConverterOptionsShouldOverrideAlreadySetOptions ( )
Test:

Definition at line 141 of file PropertyMappingConfigurationTest.php.

setUp ( )
protected

Initialization

Definition at line 37 of file PropertyMappingConfigurationTest.php.

shouldMapReturnsFalseByDefault ( )
Test:
::shouldMap

Definition at line 56 of file PropertyMappingConfigurationTest.php.

shouldMapReturnsFalseForBlacklistedProperties ( )
Test:
::shouldMap

Definition at line 88 of file PropertyMappingConfigurationTest.php.

shouldMapReturnsTrueForAllowedProperties ( )
Test:
::shouldMap

Definition at line 77 of file PropertyMappingConfigurationTest.php.

shouldMapReturnsTrueIfConfigured ( )
Test:
::shouldMap

Definition at line 66 of file PropertyMappingConfigurationTest.php.

shouldSkipReturnsFalseByDefault ( )
Test:
::shouldSkip

Definition at line 101 of file PropertyMappingConfigurationTest.php.

shouldSkipReturnsTrueIfConfigured ( )
Test:
::shouldSkip

Definition at line 111 of file PropertyMappingConfigurationTest.php.

Member Data Documentation

$propertyMappingConfiguration
protected

Definition at line 32 of file PropertyMappingConfigurationTest.php.