public function testGlobDir()
{
$tmpDir = $this->getTmpDir() . DIRECTORY_SEPARATOR;
touch($tmpDir . 'globMe1');
\mkdir($tmpDir . 'globMeAsWell');
touch($tmpDir . 'dontGlobMe');
$files = $this->service->globDir($tmpDir . 'globMe*');
$this->assertContains($tmpDir . 'globMe1', $files);
$this->assertContains($tmpDir . 'globMeAsWell', $files);
$this->assertNotContains($tmpDir . 'dontGlobMe', $files);
}