@Test
public void testFieldOfSelectExpr() throws Exception {

   QueryDef query = new QueryDef("test", UserEntity.class, QueryType.SELECT, "<FIELD name='upper-user-name'/>");
   Readset<?> readset = UserEntity.READSET_FULL;
   User user = new User();
   QueryContext ctx = getSelectContext(query, user, readset);
   m_queryResolver.resolve(ctx);
   Assert.assertEquals("upper(full_name)", ctx.getSqlStatement());
   Assert.assertEquals(false, ctx.isTableResolved());
   Assert.assertEquals("[upper-user-name]", ctx.getOutFields().toString());
}