public function testRoot() { $root = new SimpleDOM('<root><child1 /><child2 /><child3 /></root>'); $this->assertNull($root->nextSibling()); }