@Test
public void testEncryptedPassword() throws Exception {

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