public function testGetFormatTextHtmlDocument() { $document = new Document(new File(new Path(self::txtHtmlFileName))); $this->assertEquals(['format' => 'html'], $document->getHeader()); $this->assertInternalType('string', $document->getFormat()); $this->assertEquals('html', $document->getFormat()); }