public function FinderTest::testInWithGlob in Database Sanitize 7
File
- vendor/
symfony/ finder/ Tests/ FinderTest.php, line 300
Class
Namespace
Symfony\Component\Finder\TestsCode
public function testInWithGlob() {
$finder = $this
->buildFinder();
$finder
->in(array(
__DIR__ . '/Fixtures/*/B/C/',
__DIR__ . '/Fixtures/*/*/B/C/',
))
->getIterator();
$this
->assertIterator($this
->toAbsoluteFixtures(array(
'A/B/C/abc.dat',
'copy/A/B/C/abc.dat.copy',
)), $finder);
}