public function nodeFromLiveWorkspaceRemovedInPersonalWorkspaceExistsRemovedInGroupWorkspace()
{
$liveContext = $this->contextFactory->create([]);
$liveContext->getRootNode()->createNode('foo');
$this->persistenceManager->persistAll();
$this->rootNode->getNode('foo')->remove();
$this->persistenceManager->persistAll();
$this->rootNode->getContext()->getWorkspace()->publish($this->groupWorkspace);
$this->persistenceManager->persistAll();
$groupContextWithRemovedContent = $this->contextFactory->create(['workspaceName' => $this->currentGroupWorkspace, 'removedContentShown' => true]);
$fooNodeInGroupWorkspace = $groupContextWithRemovedContent->getRootNode()->getNode('foo');
$this->assertInstanceOf(NodeInterface::class, $fooNodeInGroupWorkspace);
$this->assertSame($this->currentGroupWorkspace, $fooNodeInGroupWorkspace->getNodeData()->getWorkspace()->getName());
$this->assertTrue($fooNodeInGroupWorkspace->isRemoved());
}