/**
  * Tests the getFooter() method (Twig function: wp_get_footer()).
  */
 public function testGetFooter()
 {
     ob_start();
     $this->extension->getFooter();
     $content = ob_get_clean();
     $this->assertEquals('wordpress footer', $content);
 }
 /**
  * Tests the getTemplatePart() method (Twig function: wp_get_template_part()).
  */
 public function testGetTemplatePart()
 {
     ob_start();
     $this->extension->getTemplatePart('content', 'page');
     $content = ob_get_clean();
     $this->assertEquals('wordpress template part content-page', $content);
 }