/** * Ignores PHPUnit classes which will also pass through this auto loader * @param String $className Name of the class to load */ protected function autoLoad($className) { if (!preg_match("/^PHPUnit+.*\$/", $className)) { parent::autoLoad($className); } }