protected getNodeWithContextPath ( $contextPath ) : Neos\ContentRepository\Domain\Model\NodeInterface | ||
$contextPath | ||
return | Neos\ContentRepository\Domain\Model\NodeInterface |
protected function getNodeWithContextPath($contextPath)
{
/* @var $propertyMapper \Neos\Flow\Property\PropertyMapper */
$propertyMapper = $this->objectManager->get(PropertyMapper::class);
$node = $propertyMapper->convert($contextPath, Node::class);
$this->assertFalse($propertyMapper->getMessages()->hasErrors(), 'There were errors converting ' . $contextPath);
return $node;
}