PHP Class Neos\ContentRepository\Tests\Unit\Domain\Factory\NodeFactoryTest

Inheritance: extends Neos\Flow\Tests\UnitTestCase
显示文件 Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$nodeFactory Neos\ContentRepository\Domain\Factory\NodeFactory
$objectManagerMock Neos\Flow\ObjectManagement\ObjectManagerInterface
$reflectionServiceMock Neos\Flow\Reflection\ReflectionService

Public Methods

Method Description
createContextMatchingNodeDataCreatesMatchingContext ( )
createFromNodeDataCreatesANodeWithTheGivenContextAndNodeData ( )

Protected Methods

Method Description
setUp ( ) Prepare test objects

Method Details

createContextMatchingNodeDataCreatesMatchingContext() public method

createFromNodeDataCreatesANodeWithTheGivenContextAndNodeData() public method

setUp() protected method

Prepare test objects
protected setUp ( )

Property Details

$nodeFactory protected_oe property

protected NodeFactory,Neos\ContentRepository\Domain\Factory $nodeFactory
return Neos\ContentRepository\Domain\Factory\NodeFactory

$objectManagerMock protected_oe property

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

$reflectionServiceMock protected_oe property

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