public function __call($method, $args)
 {
     if ($method == 'isXmlHttpRequest') {
         throw new exception('test testAjaxContextIsRequestDependent failed');
     }
     return parent::__call($method, $args);
 }