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

moveAfterInPersonalWorkspaceDoesNotAffectLiveWorkspace() 공개 메소드

    public function moveAfterInPersonalWorkspaceDoesNotAffectLiveWorkspace()
    {
        // move "teaser" after "main/dummy42"
        $teaserTestWorkspace = $this->nodeInTestWorkspace->getNode('teaser');
        $teaserTestWorkspace->moveAfter($this->nodeInTestWorkspace->getNode('main/dummy42'));
        $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)');
    }