Neos\ContentRepository\Tests\Behavior\Features\Bootstrap\NodeOperationsTrait::iRemoveTheNode PHP Method

iRemoveTheNode() public method

public iRemoveTheNode ( )
    public function iRemoveTheNode()
    {
        if ($this->isolated === true) {
            $this->callStepInSubProcess(__METHOD__);
        } else {
            $node = $this->iShouldHaveOneNode();
            $node->remove();
            $this->objectManager->get(\Neos\Flow\Persistence\PersistenceManagerInterface::class)->persistAll();
            $this->resetNodeInstances();
        }
    }