public function FinderTest::testAppendWithAnArray in Database Sanitize 7
File
- vendor/
symfony/ finder/ Tests/ FinderTest.php, line 408
Class
Namespace
Symfony\Component\Finder\TestsCode
public function testAppendWithAnArray() {
$finder = $this
->buildFinder();
$finder
->files()
->in(self::$tmpDir . \DIRECTORY_SEPARATOR . 'foo');
$finder
->append($this
->toAbsolute(array(
'foo',
'toto',
)));
$this
->assertIterator($this
->toAbsolute(array(
'foo',
'foo/bar.tmp',
'toto',
)), $finder
->getIterator());
}