@Test
public void testFalseAndParameter() throws Exception {

   QueryDef query = new QueryDef("test", UserEntity.class, QueryType.SELECT,
         "<IF type='NOT_NULL' field='key-user-id'>${key-user-id}</IF>");
   User user = new User();
   QueryContext ctx = getSelectContext(query, user, null);
   Assert.assertEquals(false, ctx.isWithinIfToken());
   m_queryResolver.resolve(ctx);
   Assert.assertEquals("", ctx.getSqlStatement());
   Assert.assertEquals(false, ctx.isWithinIfToken());
   Assert.assertEquals(0, ctx.getParameters().size());
}