getDestinationDirectoryIterator() public method

Esempio n. 1
0
 public function testGetDestinationDirectoryIterator()
 {
     $this->if($field = new testedClass(uniqid(), __DIR__))->then->object($recursiveIteratorIterator = $field->getDestinationDirectoryIterator())->isInstanceOf('recursiveIteratorIterator')->object($recursiveDirectoryIterator = $recursiveIteratorIterator->getInnerIterator())->isInstanceOf('recursiveDirectoryIterator')->string($recursiveDirectoryIterator->current()->getPathInfo()->getPathname())->isEqualTo(__DIR__);
 }