public function testDisableAutoRUM() { $result = true; $handler = $this->getHandlerSpy('newrelic_disable_autorum', array(), $result); $agent = new Newrelic(false, $handler); $this->assertSame($result, $agent->disableAutoRUM()); }
/** * Prevents the output filter from attempting to insert RUM JavaScript for this current transaction. Useful for * AJAX calls, for example. * * @return mixed * @static */ public static function disableAutoRUM() { return \Intouch\Newrelic\Newrelic::disableAutoRUM(); }