public function testCopyContent()
 {
     $this->folderDao->ensureTopLevelFolder();
     $folderA = $this->folderDao->insertFolder($folderName = 'A', '/A', FolderDao::TOP_LEVEL);
     $folderB = $this->folderDao->insertFolder($folderName = 'B', '/A/B', $folderA);
     $this->folderDao->insertFolder($folderName = 'C', '/C', FolderDao::TOP_LEVEL);
     $fc = $this->dbManager->getSingleRow('SELECT foldercontents_pk FROM foldercontents WHERE child_id=$1', array($folderB), __METHOD__ . '.needs.the.foldercontent_pk');
     $this->folderDao->copyContent($fc['foldercontents_pk'], FolderDao::TOP_LEVEL);
     assertThat($this->folderDao->getFolderChildFolders($folderA), is(arrayWithSize(1)));
     assertThat($this->folderDao->getFolderChildFolders(FolderDao::TOP_LEVEL), is(arrayWithSize(3)));
 }