public function testGetCacheKey() {
$loader = new Twig_Loader_Chain(array(
new Twig_Loader_Array(array(
'foo' => 'bar',
)),
new Twig_Loader_Array(array(
'foo' => 'foobar',
'bar' => 'foo',
)),
));
$this
->assertEquals('bar', $loader
->getCacheKey('foo'));
$this
->assertEquals('foo', $loader
->getCacheKey('bar'));
}