public function testIgnoreNonCompletePaths()
{
$expected = realpath(self::expand('dir2/file.php'));
$iterator = new FileIterator(self::$expectedFiles, [self::expand('dir')]);
$this->assertArrayHasKey($expected, $iterator->toArray(), "'{$expected}' should not be ignored as 'dir' should not match 'dir2'");
}