### Question:
MacroIfLogic { private static boolean include(Object value, String valueStr, String compare, String type) { if (value == null) { return false; } String compareLow = compare.toLowerCase(); if (value instanceof String) { return valueStr.toLowerCase().contains(compareLow); } if (value.getClass().isArray()) { Object[] values = CollectionUtil.convertArray(value); for (Object var : values) { if (compareLow.equals((var == null) ? null : var.toString().toLowerCase())) { return true; } } } if (value instanceof Collection) { Iterator iter = ((Collection) value).iterator(); Object var; while (iter.hasNext()) { var = iter.next(); if (compareLow.equals((var == null) ? null : var.toString().toLowerCase())) { return true; } } } return false; }  static boolean evalLogic(String sql, List paramValues, int preCount, int logicParamCnt);  }### Answer:
@Test public void testInclude() { String sql="size(:statusAry) >=4"; List params=new ArrayList(); params.add(new Object[] {1,2}); boolean result=MacroIfLogic.evalLogic(sql, params, 0, 1); assertEquals(result,true); }