@Test
public void testInEmptyListParameter() throws Exception {

   QueryDef query = new QueryDef("test", UserEntity.class, QueryType.SELECT, "<IN>${user-id-list}</IN>");
   User user = new User();
   QueryContext ctx = getSelectContext(query, user, null);
   List<Long> emptyList = Collections.emptyList();
   user.setUserIdList(emptyList);
   Assert.assertEquals(false, ctx.isWithinInToken());
   m_queryResolver.resolve(ctx);
   Assert.assertEquals("(null)", ctx.getSqlStatement());
   Assert.assertEquals(0, ctx.getParameters().size());
   Assert.assertEquals(false, ctx.isWithinInToken());
}