예제 #1
0
 /**
  * @expectedException InvalidArgumentException
  */
 public function testInvalidXPath()
 {
     $root = new SimpleDOM('<root />');
     $new = new SimpleDOM('<new />');
     $root->replaceNodes('????', $new);
 }