public function testRenderDocumentAttributeWithFilePath() { $this->assertSame('Doc #2', $this->extension->renderDocumentAttribute($this->twig, 'title', 'pages/page-2')); }