/** * The test will add manually classes to the index. * * The test will assert with this method, that a class in the index is not * searched by the file system. * * @param String $class The class name * * @return void */ public function addClassToIndex($class) { $this->normalizeClass($class); if ($this->index->hasPath($class)) { return; } $this->index->setPath($class, parent::searchPath($class)); }