assertEquals("def",instance.listOfStrings.get(1));
// Check reference beyond end of collection
ctx = new StandardEvaluationContext(instance);
parser = new SpelExpressionParser(new SpelParserConfiguration(true, true));
e = parser.parseExpression("listOfStrings[0]");
String value = e.getValue(ctx,String.class);
assertEquals("abc",value);
e = parser.parseExpression("listOfStrings[1]");
value = e.getValue(ctx,String.class);
assertEquals("def",value);