PHP Class Neos\ContentRepository\Tests\Unit\Domain\Service\NodeServiceTest

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Datei anzeigen Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$subNodeTypesFixture array example node types

Public Methods

Method Description
abnormalPaths ( ) : array
cleanUpChildNodesNeverRemoveDocumentNode ( )
cleanUpChildNodesRemoveAllUndeclaredChildNodes ( )
cleanUpPropertiesRemoveAllUndeclaredProperties ( )
createChildNodesTryToCreateAllConfiguredChildNodes ( )
isNodeOfTypeReturnTrueIsTheGivenNodeHasTheSameTypeOfTheGivenType ( )
isNodeOfTypeReturnTrueIsTheGivenNodeIsSubNodeOfTheGivenType ( )
normalizePathReturnsANormalizedAbsolutePath ( string $currentPath, string $relativePath, string $normalizedPath )
normalizePathThrowsInvalidArgumentExceptionOnPathContainingDoubleSlash ( )
setDefaultDateValueOnlyIfTheCurrentPropertyIsNull ( )
setDefaultValueNeverReplaceExistingValue ( )
setDefaultValueOnlyIfTheCurrentPropertyIsNull ( )

Protected Methods

Method Description
createNodeService ( ) : Neos\ContentRepository\Domain\Service\NodeService
mockNodeType ( string $nodeTypeName ) : mixed

Method Details

abnormalPaths() public method

public abnormalPaths ( ) : array
return array

cleanUpChildNodesNeverRemoveDocumentNode() public method

cleanUpChildNodesRemoveAllUndeclaredChildNodes() public method

cleanUpPropertiesRemoveAllUndeclaredProperties() public method

createChildNodesTryToCreateAllConfiguredChildNodes() public method

createNodeService() protected method

protected createNodeService ( ) : Neos\ContentRepository\Domain\Service\NodeService
return Neos\ContentRepository\Domain\Service\NodeService

isNodeOfTypeReturnTrueIsTheGivenNodeHasTheSameTypeOfTheGivenType() public method

isNodeOfTypeReturnTrueIsTheGivenNodeIsSubNodeOfTheGivenType() public method

mockNodeType() protected method

protected mockNodeType ( string $nodeTypeName ) : mixed
$nodeTypeName string
return mixed

normalizePathReturnsANormalizedAbsolutePath() public method

public normalizePathReturnsANormalizedAbsolutePath ( string $currentPath, string $relativePath, string $normalizedPath )
$currentPath string
$relativePath string
$normalizedPath string

normalizePathThrowsInvalidArgumentExceptionOnPathContainingDoubleSlash() public method

setDefaultDateValueOnlyIfTheCurrentPropertyIsNull() public method

setDefaultValueNeverReplaceExistingValue() public method

setDefaultValueOnlyIfTheCurrentPropertyIsNull() public method

Property Details

$subNodeTypesFixture protected_oe property

example node types
protected array $subNodeTypesFixture
return array