@Test
public void testSelect3() throws Exception {

   QueryDef query = new QueryDef("test", UserEntity.class, QueryType.SELECT, "<fields excludes='user-name,last-modified-date'/>");
   Readset<?> readset = UserEntity.READSET_FULL;
   User user = new User();
   QueryContext ctx = getSelectContext(query, user, readset);
   m_queryResolver.resolve(ctx);
   Assert.assertEquals("u.user_id,u.creation_date", ctx.getSqlStatement());
   Assert.assertEquals(2, ctx.getOutSubObjectNames().size());
   Assert.assertEquals(null, ctx.getOutSubObjectNames().get(0));
   Assert.assertEquals(2, ctx.getOutFields().size());
   Assert.assertEquals(UserEntity.USER_ID, ctx.getOutFields().get(0));
   Assert.assertEquals(UserEntity.CREATION_DATE, ctx.getOutFields().get(1));
   Assert.assertEquals("[user-id, creation-date]", ctx.getOutFields().toString());
}