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; }