<?php require_once __DIR__ . '/PHPClassic/ClassicLoader.php'; use PHPClassic\ClassicLoader; ClassicLoader::addPath(__DIR__); ClassicLoader::register();
public function testAddPath() { $path = realpath(__DIR__ . DIRECTORY_SEPARATOR . '..'); ClassicLoader::addPath($path); $this->assertTrue(in_array($path, ClassicLoader::getPaths())); }