public function testConstructorShouldAcceptDocumentString() { $html = $this->getHtml(); $document = new Document($html); $this->assertSame($html, $document->getStringDocument()); }