public function testIgnoreFilename()
{
$this->assertArrayHasKey(__FILE__, iterator_to_array(new FileIterator([__FILE__], [__FILE__])), __FILE__ . ' should not be ignored as ignore filters should not matter when files are added');
$this->assertArrayNotHasKey(__FILE__, iterator_to_array(new FileIterator([__DIR__], [__FILE__])), __FILE__ . ' should be ignored when ' . __DIR__ . ' is ignored');
}