Location: PHPKode > scripts > Craur > Craur-1.7.4/tests/fail_with_empty_xml_test.php
<?php
try
{
    $node = Craur::createFromXml('');
    assert(false);
}
catch (Exception $exception)
{
    /*
     * Great, it broke! :)
     */
}
Return current item: Craur