autoloadExtensions() public static method

If extension autoloading is disabled, then QueryPath will not automatically load all registred extensions when a new Query object is created using qp().
public static autoloadExtensions ( $boolean = true )
 /**
  * @expectedException \QueryPath\Exception
  */
 public function testAutoloadExtensions()
 {
     // FIXME: This isn't really much of a test.
     ExtensionRegistry::autoloadExtensions(FALSE);
     try {
         qp()->stubToe();
     } catch (Exception $e) {
         ExtensionRegistry::autoloadExtensions(TRUE);
         throw $e;
     }
 }