/**
  * @test
  **/
 public function movedElementsCanBeFoundUsingTheirLiveUID()
 {
     $this->importDataSet(dirname(__FILE__) . '/fixtures/dbDefaultWorkspaces.xml');
     $this->importDataSet(dirname(__FILE__) . '/fixtures/dbMovedContent.xml');
     // Test if the placeholder can be found when we ask using recursion (same result)
     $service = new tx_Workspaces_Service_Workspaces();
     $result = $service->selectVersionsInWorkspace(91, 0, -99, 3, 99);
     $this->assertEquals(1, sizeof($result), "Wrong amount of versions found within workspace 91");
     $this->assertEquals(1, sizeof($result['pages']), "Wrong amount of page versions found within workspace 91");
     $this->assertEquals(103, $result['pages'][0]['uid'], "Wrong move-to pointer found for page 3 in workspace 91");
 }