expectException(\phpOMS\System\File\PathException::class); $app = new class() extends ApplicationAbstract { protected string $appName = 'Api'; }; $app->dbPool = $GLOBALS['dbpool']; Installer::installExternal($app, ['path' => 'invalid.json']); } }