public function testNormalRendering()
 {
     $template = new Template('test', 'html');
     $expectedOutput = file_get_contents(APPLICATION_HOME . '/templates/html/test.inc');
     $this->assertEquals($expectedOutput, $template->render());
     $helper = $template->getHelper('test');
     $this->assertEquals('something', $helper->test('something'));
     $template = new Template('partials', 'html');
     $expectedOutput = file_get_contents(APPLICATION_HOME . '/templates/html/partials/testPartial.inc');
     $this->assertEquals($expectedOutput, $template->render());
 }
 /**
  * SITE_HOME sites should be able to override any template
  */
 public function testSiteOverrides()
 {
     $template = new Template('test', 'test');
     $expectedOutput = file_get_contents(__DIR__ . '/templates/test/test.inc');
     $this->assertEquals($expectedOutput, $template->render());
     $helper = $template->getHelper('test');
     $this->assertEquals('something', $helper->test('something'));
     $template = new Template('partials', 'test');
     $expectedOutput = file_get_contents(__DIR__ . '/templates/test/partials/testPartial.inc');
     $this->assertEquals($expectedOutput, $template->render());
 }