Translations:Manual:ApiMain.php/10/en

To call the API programmatically for testing, run it using the $faux object, in which case any internal exceptions will not be handled but passed up to the caller.