4 * MockRestConfig is intended to imitate the \RestConfig class that we don't have fully namespaced due to its reliance
5 * on globals and a bunch of other stuff. Methods that are in \RestConfig can be imitated here so we can have some
8 * @link http://www.open-emr.org
9 * @author Stephen Nielson <stephen@nielson.org>
10 * @copyright Copyright (c) 2021 Stephen Nielson <stephen@nielson.org>
11 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
14 namespace OpenEMR\Tests
;
18 public static $FHIR_ROUTE_MAP;
19 public static $systemScopesEnabled = false;
21 public static function reset()
23 self
::$FHIR_ROUTE_MAP = [];
26 public static function areSystemScopesEnabled()
28 return self
::$systemScopesEnabled;