public static function setUpBeforeClass() { if (!self::$loader) { self::$loader = \ClassGenerator\Autoloader::getInstance()->setCachePath(__DIR__ . DIRECTORY_SEPARATOR . 'cache')->register(); self::$generator = self::$loader->getGenerator(); } }