/**
* @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;
}
}