@Test
public void testLogicalExprPassedAsQueryParam() {

    ArrayList values = new ArrayList();
    values.add("value1");
    values.add("value2");
    final ColumnFilter filter1 = likeTo(COLUMN_PROCESSNAME, "%processName%");
    final ColumnFilter filter2 = likeTo(COLUMN_PROCESSID, "%processName%");
    ArrayList terms = new ArrayList();
    terms.add(filter1);
    terms.add(filter2);
    QueryParam queryParam = new QueryParam("", LogicalExprType.OR.toString(), terms);
    ArrayList queryParams = new ArrayList();
    queryParams.add(queryParam);
    coreFunctionQueryParamBuilder = new CoreFunctionQueryParamBuilder(queryParam);
    Object builded = coreFunctionQueryParamBuilder.build();
    assertTrue(builded instanceof LogicalExprFilter);
    assertEquals("(" + COLUMN_PROCESSNAME + " like %processName%, true OR " + COLUMN_PROCESSID + " like %processName%, true)", builded.toString());
}