/** * Set the API Proxy instance used to make the RPC call. Allows for mocking * in tests. * @param resource $apiProxy API Proxy instance to use */ public static function setApiProxy($apiProxy) { ApiProxy::$apiProxy = $apiProxy; }