collector.php
protected function handle(&$test, $filename)
    {
        if (preg_match($this->pattern, $filename)) {
            parent::handle($test, $filename);
        }
    }
protected function handle(&$test, $filename)
    {
        if (preg_match($this->pattern, $filename)) {
            parent::handle($test, $filename);
        }
    }
Attempts to add files that match a given pattern.

@see SimpleCollector::_handle()

@param object $test Group test with {@link GroupTest::addFile)} method.
@param string $path Directory to scan.