public function testCSSSelectorReturnsCorrectNodes() { $node = $this->frag->appendElement('append', 'text'); $result = $this->frag->select('append'); $this->assertSame($node, $result->item(0)); $this->assertEquals(1, $result->length); }
public function testCSSSelectorReturnsCorrectNodes() { $node = $this->frag->appendElement('append', 'text'); $result = $this->frag->select('append'); $this->assertSame($node, $result->item(0)); $this->assertEquals(1, $result->length); }