public function FinderTest::testPath in Database Sanitize 7
@dataProvider getTestPathData
File
- vendor/
symfony/ finder/ Tests/ FinderTest.php, line 612
Class
Namespace
Symfony\Component\Finder\TestsCode
public function testPath($matchPatterns, $noMatchPatterns, array $expected) {
$finder = $this
->buildFinder();
$finder
->in(__DIR__ . \DIRECTORY_SEPARATOR . 'Fixtures')
->path($matchPatterns)
->notPath($noMatchPatterns);
$this
->assertIterator($this
->toAbsoluteFixtures($expected), $finder);
}