protected function compile($templateName)
 {
     $filenames = $this->lightncandy->getTemplateFilenames($templateName);
     if (!file_exists($filenames['template'])) {
         $this->error("Could not find template at: {$filenames['template']}");
     }
     $this->lightncandy->getTemplate($templateName);
     if (!file_exists($filenames['compiled'])) {
         $this->error("Template compilation completed, but no compiled code found on disk");
     } else {
         $this->output("Successfully compiled {$templateName} to {$filenames['compiled']}\n");
     }
 }
 /**
  * @dataProvider provideTraversalAttackFilenames
  * @expectedException \Flow\Exception\FlowException
  */
 public function testGetTemplateFilenamesTraversalAttack($templateName)
 {
     $helper = new TemplateHelper('/does/not/exist');
     $helper->getTemplateFilenames($templateName);
 }