public function testGetProcessTwig() { $document = new Document(new File(new Path(self::simpleFileName))); $this->assertEquals([], $document->getHeader()); $this->assertInternalType('bool', $document->getProcessTwig()); $this->assertFalse($document->getProcessTwig()); $document = new Document(new File(new Path(self::twigFileName))); $this->assertEquals(['process-twig' => true], $document->getHeader()); $this->assertInternalType('bool', $document->getProcessTwig()); $this->assertTrue($document->getProcessTwig()); }