Example #1
0
 public function testInvalidArgumentType2()
 {
     $root = new SXE('<root />');
     try {
         $root->addProcessingInstruction('xml-stylesheet', false);
         $fail = true;
     } catch (Exception $e) {
         $fail = false;
     }
     if ($fail) {
         self::fail();
     }
 }