function testLocateCompiledTemplate()
 {
     $template_locator = new lmbMacroTemplateLocatorSimple($config = $this->_createMacroConfig());
     $compiled_file_name = lmbMacroTemplate::encodeCacheFileName($this->template_name);
     file_put_contents($config->cache_dir . '/' . $compiled_file_name, 'bar');
     $template = $template_locator->locateCompiledTemplate($this->template_name);
     $this->assertEqual('bar', file_get_contents($template));
 }
 function locateCompiledTemplate($file_name)
 {
     return $this->config->cache_dir . '/' . lmbMacroTemplate::encodeCacheFileName($file_name);
 }