public function objectPathOnArrayExpressions()
{
// Wrap a value inside a context
$c = new Context(['foo' => 42, 'bar' => ['baz' => 'Hello', 'a1' => ['b2' => 'Nested']], 'another' => ['path' => 'b2'], 'numeric' => ['a', 'b', 'c']]);
return [['unknwn', $c, null], ['foo', $c, 42], ['bar.baz', $c, 'Hello'], ['bar.a1[another.path]', $c, 'Nested'], ['bar.a1[unknwn.path]', $c, null], ['numeric[1]', $c, 'b'], ['numeric[0]', $c, 'a']];
}