/** * @expectedException InvalidArgumentException */ public function testInvalidTagName() { $root = new SXE('<root />'); $root->getElementsByTagName('$$$$'); }