/**
  * @covers Kunstmaan\MediaBundle\Entity\Folder::getParents
  */
 public function testGetParents()
 {
     $root = new Folder();
     $root->setId(1);
     $subFolder = new Folder();
     $subFolder->setId(2);
     $subFolder->setParent($root);
     $subSubFolder = new Folder();
     $subSubFolder->setId(3);
     $subSubFolder->setParent($subFolder);
     $parents = array($root, $subFolder);
     $this->assertEquals($parents, $subSubFolder->getParents());
 }