Neos\Neos\Tests\Functional\NodeRenamingTest::movedIntoInPersonalWorkspaceDoesNotAffectLiveWorkspace PHP 메소드

movedIntoInPersonalWorkspaceDoesNotAffectLiveWorkspace() 공개 메소드

    public function movedIntoInPersonalWorkspaceDoesNotAffectLiveWorkspace()
    {
        // move "teaser" into "main"
        $teaserTestWorkspace = $this->nodeInTestWorkspace->getNode('teaser');
        $teaserTestWorkspace->moveInto($this->nodeInTestWorkspace->getNode('main'));
        $this->assertNull($this->nodeInTestWorkspace->getNode('teaser/dummy42a'), 'moving not successful (1)');
        $this->assertNotNull($this->nodeInTestWorkspace->getNode('main/teaser/dummy42a'), 'moving not successful (2)');
        $this->assertNotNull($this->node->getNode('teaser'), 'moving shined through into live workspace (1)');
        $this->assertNotNull($this->node->getNode('teaser/dummy42a'), 'moving shined through into live workspace (2)');
        $this->assertNull($this->node->getNode('main/teaser/dummy42a'), 'moving shined through into live workspace (3)');
    }