@expectedException Twig_Error_Loader
public function testGetCacheKeyWhenTemplateDoesNotExist() { $loader = new Twig_Loader_Array(array()); $loader ->getCacheKey('foo'); }