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