Ejemplo n.º 1
0
 /**
  * @covers \BackBee\NestedNode\Repository\PageRepository::duplicateRecursively
  * @expectedException \BackBee\Exception\InvalidArgumentException
  */
 public function testDuplicatePageIn0neOfItsDescendants()
 {
     $section1 = $this->repository->find('section1');
     $this->repository->duplicate($this->root, null, $section1);
 }