PHP Class Neos\ContentRepository\Tests\Unit\Service\Utility\NodePublishingDependencySolverTest

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

Protected Properties

Property Type Description
$mockContext Neos\ContentRepository\Domain\Service\Context
$mockWorkspace Neos\ContentRepository\Domain\Model\Workspace

Public Methods

Method Description
setUp ( )
sortNodesWithMovedToRelations ( )
sortNodesWithParentRelations ( )

Protected Methods

Method Description
assertBeforeInArray ( mixed $element1, mixed $element2, array $elements ) : void Assert the element1 is before element2 in the given list of elements
buildNodeMock ( string $path, NodeData $movedTo = null ) : Node Build a mock Node for testing

Method Details

assertBeforeInArray() protected method

Assert the element1 is before element2 in the given list of elements
protected assertBeforeInArray ( mixed $element1, mixed $element2, array $elements ) : void
$element1 mixed
$element2 mixed
$elements array
return void

buildNodeMock() protected method

Build a mock Node for testing
protected buildNodeMock ( string $path, NodeData $movedTo = null ) : Node
$path string
$movedTo Neos\ContentRepository\Domain\Model\NodeData
return Neos\ContentRepository\Domain\Model\Node

setUp() public method

public setUp ( )

sortNodesWithMovedToRelations() public method

sortNodesWithParentRelations() public method

Property Details

$mockContext protected_oe property

protected Context,Neos\ContentRepository\Domain\Service $mockContext
return Neos\ContentRepository\Domain\Service\Context

$mockWorkspace protected_oe property

protected Workspace,Neos\ContentRepository\Domain\Model $mockWorkspace
return Neos\ContentRepository\Domain\Model\Workspace