$this->
expectException(\InvalidArgumentException::
class);
$finder =
new Finder();
$finder->
in('foobar'
);
} public function testInWithGlob() { $finder =
$this->
buildFinder();
$finder->
in([__DIR__.'/Fixtures/*/B/C/', __DIR__.'/Fixtures/*/*/B/C/'
])->
getIterator();
$this->
assertIterator($this->
toAbsoluteFixtures(['A/B/C/abc.dat', 'copy/A/B/C/abc.dat.copy'
]),
$finder);
} public function testInWithNonDirectoryGlob() { $this->
expectException(\InvalidArgumentException::
class);
$finder =
new Finder();
$finder->
in(__DIR__.'/Fixtures/A/a*'
);
} public function testInWithGlobBrace() {