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