public function testConstructor()
{
$document = new Document(new SplFileInfo(__FILE__, '.', '.'));
$this->assertSame(file_get_contents(__FILE__), $document->getBody());
$this->assertSame(file_get_contents(__FILE__), $document->getBodyDecorated());
$this->assertSame('DocumentTest.php', $document->getPath());
}