public function verifyPublishingTargetWorkspaceThrowsAnExceptionIfWorkspaceIsNotBasedOnTheSpecifiedWorkspace()
{
$someBaseWorkspace = new Workspace('live');
$currentWorkspace = $this->getAccessibleMock(Workspace::class, array('dummy'), array('user-foo', $someBaseWorkspace));
$otherWorkspace = new Workspace('user-bar', $someBaseWorkspace);
$currentWorkspace->_call('verifyPublishingTargetWorkspace', $otherWorkspace);
}