@Test
public void testUserName() throws Exception {

   QueryDef query = new QueryDef("test", UserEntity.class, QueryType.INSERT, "<value name='user-name'/>");
   User user = new User();
   QueryContext ctx = getSelectContext(query, user, null);
   user.setUserName("test");
   m_queryResolver.resolve(ctx);
   Assert.assertEquals("?", ctx.getSqlStatement());
   Assert.assertEquals("[${user-name}]", ctx.getParameters().toString());
}