/**
* @test
*/
public function setWorkspacesAllowsForSettingTheWorkspaceForInternalPurposes()
{
/** @var Workspace|\PHPUnit_Framework_MockObject_MockObject $newWorkspace */
$newWorkspace = $this->getMockBuilder(Workspace::class)->disableOriginalConstructor()->getMock();
$this->assertSame($this->mockWorkspace, $this->nodeData->getWorkspace());
$this->nodeData->setWorkspace($newWorkspace);
$this->assertSame($newWorkspace, $this->nodeData->getWorkspace());
}