public function noSuchElementById() { $this->assertEquals(null, Document::fromString('<list/>')->getElementById('1777')); }
/** * Creates a segment instance * * @param string $marker * @param string $bytes * @return self */ public static function read($marker, $bytes) { // Begin parsing after 29 bytes - strlen("http://ns.adobe.com/xap/1.0/\000") return new self($marker, Document::fromString(substr($bytes, 29))); }