@Test
public void testCurrentTableForUpdate() throws Exception {

   QueryDef query = new QueryDef("test", UserEntity.class, QueryType.UPDATE, "<TABLE/>");
   Updateset<User> updateset = UserEntity.UPDATESET_FULL;
   User user = new User();
   QueryContext ctx = getUpdateContext(query, user, updateset);
   m_queryResolver.resolve(ctx);
   Assert.assertEquals("`user`", ctx.getSqlStatement());
}