@expectedException Twig_Error_Runtime @expectedExceptionMessage Impossible to access a key ("a") on a "string" variable
public function testAttributeOnAString() {
$template = new Twig_TemplateTest(new Twig_Environment(null, array(
'strict_variables' => true,
)), false);
$template
->getAttribute('string', 'a', array(), Twig_TemplateInterface::ARRAY_CALL, false);
}