@Test
public void testContextPathExpression3() {

    String inputExpression = "{ first name : \"bob\" }.first name";
    BaseNode pathBase = parse( inputExpression );
    assertThat( pathBase, is( instanceOf( PathExpressionNode.class ) ) );
    assertThat( pathBase.getText(), is( inputExpression ) );
    assertThat( pathBase.getResultType(), is( BuiltInType.STRING ) );
    PathExpressionNode pathExpr = (PathExpressionNode) pathBase;
    assertThat( pathExpr.getExpression(), is( instanceOf( ContextNode.class ) ) );
    assertThat( pathExpr.getExpression().getText(), is( "{ first name : \"bob\" }" ) );
    assertThat( pathExpr.getName(), is( instanceOf( NameRefNode.class ) ) );
    assertThat( pathExpr.getName().getText(), is( "first name" ) );
}