public function iSetTheNodePropertyTo($propertyName, $propertyValue)
{
if ($this->isolated === true) {
$this->callStepInSubProcess(__METHOD__, sprintf(' %s %s %s %s', 'string', escapeshellarg($propertyName), 'string', escapeshellarg($propertyValue)));
} else {
$currentNode = $this->iShouldHaveOneNode();
$currentNode->setProperty($propertyName, $propertyValue);
$this->objectManager->get(\Neos\Flow\Persistence\PersistenceManagerInterface::class)->persistAll();
$this->resetNodeInstances();
}
}